docker file better
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
abs3nt 2023-01-28 15:20:27 -08:00
parent f0fb5e8c2e
commit 8c0a426988

View File

@ -1,6 +1,9 @@
FROM python:3
FROM gorialis/discord.py
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 [ "python3", "bot.py" ]
CMD [ "python", "bot.py" ]