2019-12-09 19:54:57 +02:00
|
|
|
FROM python:3
|
|
|
|
|
|
|
|
WORKDIR /bot
|
2020-01-15 14:10:04 +02:00
|
|
|
RUN pip install pipenv && rm -rf /root/.cache
|
2019-12-09 19:54:57 +02:00
|
|
|
COPY Pipfile .
|
2020-01-15 14:10:04 +02:00
|
|
|
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/
|
2019-12-10 23:43:08 +02:00
|
|
|
COPY modules modules
|
|
|
|
|
2019-12-23 18:34:58 +02:00
|
|
|
CMD [ "pipenv", "run", "python", "-u", "./bot.py" ]
|