2019-12-09 19:54:57 +02:00
|
|
|
FROM python:3
|
|
|
|
|
|
|
|
WORKDIR /bot
|
|
|
|
RUN pip install pipenv
|
|
|
|
COPY Pipfile .
|
2019-12-23 18:04:45 +02:00
|
|
|
RUN pipenv install --pre --system
|
2019-12-09 19:54:57 +02:00
|
|
|
|
|
|
|
COPY bot.py .
|
2019-12-10 23:43:08 +02:00
|
|
|
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" ]
|