From 09c3b3cccc1ab66603f9325a5547e9f1244d7611 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20J=C4=99dyk?= Date: Thu, 9 Jun 2022 21:10:51 +0200 Subject: [PATCH] fix port gunicorn 3 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0301b56..8559532 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,6 @@ COPY . . #RUN chmod u+x setup_core.sh #RUN bash setup_core.sh RUN pip3 install -r requirements.txt -EXPOSE 5000/udp -EXPOSE 5000/tcp -CMD gunicorn -b 0.0.0.0:$PORT ayct_backend:create_app() --timeout 120 \ No newline at end of file +#EXPOSE 5000/udp +#EXPOSE 5000/tcp +CMD ["gunicorn", "--bind 0.0.0.0:$PORT", "ayct_backend:create_app()", "--timeout 120"] \ No newline at end of file