welcomebot/Dockerfile
2020-11-23 00:41:23 +01:00

15 lines
No EOL
200 B
Docker

FROM python:3
RUN mkdir /data
WORKDIR "/usr/src/app"
ENV IS_DOCKER 1
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD [ "python", "./bot.py" ]
VOLUME /data