welcomebot/Dockerfile

15 lines
200 B
Text
Raw Normal View History

2020-11-23 00:41:23 +01:00
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