~johanvandegriff/games.johanv.xyz

ref: dd4b46bdc139e8f7f7587d2a73593d81d25db87d games.johanv.xyz/Dockerfile -rw-r--r-- 297 bytes
dd4b46bdJohan Vandegriff switch to gunicorn 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
FROM python:3.8
COPY .  /app
WORKDIR /app
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update && apt install -y libcgi-session-perl libhunspell-dev default-jre && rm -rf /var/lib/apt/lists/*
RUN pip install -r requirements.txt
EXPOSE  8000
# CMD ["python", "games.py"]
CMD ["gunicorn", "games:app"]