lmgtfy-bot/Dockerfile
abs3nt 8c0a426988
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
docker file better
2023-01-28 15:20:27 -08:00

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" ]