hemppa/Dockerfile

19 lines
300 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
# Make sure these exist
RUN touch credentials.json
RUN touch token.pickle
COPY credentials.json .
COPY token.pickle .
2019-12-09 19:54:57 +02:00
CMD [ "pipenv", "run", "python", "-u", "./bot.py" ]