From dd4b46bdc139e8f7f7587d2a73593d81d25db87d Mon Sep 17 00:00:00 2001 From: Johan Vandegriff Date: Mon, 11 Oct 2021 20:38:32 -0400 Subject: [PATCH] switch to gunicorn --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 96373b9..91ef446 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,4 +5,5 @@ 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 ["python", "games.py"] +CMD ["gunicorn", "games:app"] -- 2.34.2