lmgtfy-bot/Dockerfile

10 lines
281 B
Docker
Raw Normal View History

2023-01-28 23:20:27 +00:00
FROM alpine
ENV PYTHONUNBUFFERED=1
RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
RUN python3 -m ensurepip
RUN pip3 install --no-cache --upgrade pip setuptools discord.py
2023-01-27 01:34:28 +00:00
RUN mkdir -p /usr/src/bot
WORKDIR /usr/src/bot
COPY . .
2023-01-28 23:20:27 +00:00
CMD [ "python", "bot.py" ]