hemppa/Dockerfile

16 lines
277 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
2019-12-09 19:54:57 +02:00
COPY bot.py .
COPY modules modules
# googlecal: copy credentials.json and token.pickle if they exist
COPY *.json .
COPY *.pickle .
2019-12-09 19:54:57 +02:00
CMD [ "pipenv", "run", "python", "-u", "./bot.py" ]