hemppa/Dockerfile

17 lines
253 B
Docker
Raw Normal View History

2019-12-09 19:54:57 +02:00
FROM python:3
WORKDIR /bot
RUN pip install pipenv
COPY Pipfile .
RUN pipenv install --pre --system
2019-12-09 19:54:57 +02:00
COPY bot.py .
COPY modules modules
# Uncomment for google calendar:
#COPY credentials.json .
#COPY token.pickle .
2019-12-09 19:54:57 +02:00
CMD [ "python", "-u", "./bot.py" ]