From c0250ed081b5e9194f020a02de125a6a0e773610 Mon Sep 17 00:00:00 2001 From: tedoaba Date: Mon, 28 Oct 2024 14:47:32 +0300 Subject: [PATCH] cmd changed for production --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 201d6fa..5e698a1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,4 +24,5 @@ RUN npm install EXPOSE 8000 # Command to run on container start -CMD ["flask", "--app", "app", "run", "--host=0.0.0.0", "--port=8000", "--debug"] \ No newline at end of file +#CMD ["flask", "--app", "app", "run", "--host=0.0.0.0", "--port=8000", "--debug"] +CMD ["gunicorn", "-b", "0.0.0.0:8000", "app:app"]