~johanvandegriff/games.johanv.xyz

ref: 39c27b1820d4543eb984caaa4311a2b2c5b85119 games.johanv.xyz/Dockerfile -rw-r--r-- 337 bytes
39c27b18Johan Vandegriff added dictionary download to dockerfile 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
FROM python:3.8
COPY .  /app
WORKDIR /app
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y libcgi-session-perl libhunspell-dev default-jre && rm -rf /var/lib/apt/lists/*
RUN pip install -r requirements.txt
RUN python -m spacy download en
EXPOSE  5000
# CMD ["python", "games.py"]
CMD ["gunicorn", "games:app"]