hemppa/Dockerfile

12 lines
246 B
Docker
Raw Normal View History

2019-12-09 19:54:57 +02:00
FROM python:3
WORKDIR /bot
RUN pip install pipenv && rm -rf /root/.cache
2019-12-09 19:54:57 +02:00
COPY Pipfile .
RUN pipenv install --pre && rm -rf /root/.cache
2019-12-09 19:54:57 +02:00
2019-12-30 22:34:16 +02:00
COPY bot.py *.json *.pickle /bot/
COPY modules modules
CMD [ "pipenv", "run", "python", "-u", "./bot.py" ]