From 1950d759baefe243d391cd63cd07b4973c46d362 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 13 Apr 2023 14:58:39 +0200 Subject: add gunicorn 2 --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index e29bb9d..bb48283 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,4 +19,6 @@ RUN pip install --no-cache-dir -r requirements.txt EXPOSE 5000 -CMD [ "python3", "-m" , "flask", "run", "--port", "5000", "--host", "0.0.0.0"] + +#CMD [ "python3", "-m" , "flask", "run", "--port", "5000", "--host", "0.0.0.0"] +CMD [ "python3", "-m" , "gunicorn", "app:app", "-c", "gunicorn_config.py"] -- cgit v1.2.3