Files
cyoa-discord/Dockerfile
T

18 lines
266 B
Docker

FROM python:3.12-slim
VOLUME [ "/app/assets" ]
WORKDIR /app
ENV FLASK_APP=server.py
ENV FLASK_RUN_HOST=0.0.0.0
ENV FLASK_RUN_PORT=1387
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY server.py .
EXPOSE 1387/tcp
CMD ["flask", "run", "--debug"]