This commit is contained in:
parent
f0fb5e8c2e
commit
8c0a426988
@ -1,6 +1,9 @@
|
|||||||
FROM python:3
|
FROM alpine
|
||||||
FROM gorialis/discord.py
|
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
|
RUN mkdir -p /usr/src/bot
|
||||||
WORKDIR /usr/src/bot
|
WORKDIR /usr/src/bot
|
||||||
COPY . .
|
COPY . .
|
||||||
CMD [ "python3", "bot.py" ]
|
CMD [ "python", "bot.py" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user