SecretBot/Dockerfile

11 lines
319 B
Docker

FROM python:3.7
WORKDIR /app
# We use requirements_freezed in order to ensure reproductible builds
COPY requirements_freeze.txt ./requirements.txt
RUN pip install -r requirements.txt
COPY ./GameFiles/ ./GameFiles/
COPY SecretBot.py utils.py ./
VOLUME ["/app/token", "/app/games.json"]
ENTRYPOINT ["/app/SecretBot.py"]