10 lines
281 B
Docker
10 lines
281 B
Docker
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
|
|
RUN mkdir -p /usr/src/bot
|
|
WORKDIR /usr/src/bot
|
|
COPY . .
|
|
CMD [ "python", "bot.py" ]
|