fix port gunicorn 3

This commit is contained in:
Łukasz Jędyk 2022-06-09 21:10:51 +02:00
parent a01fd48c64
commit 09c3b3cccc

View File

@ -7,6 +7,6 @@ COPY . .
#RUN chmod u+x setup_core.sh #RUN chmod u+x setup_core.sh
#RUN bash setup_core.sh #RUN bash setup_core.sh
RUN pip3 install -r requirements.txt RUN pip3 install -r requirements.txt
EXPOSE 5000/udp #EXPOSE 5000/udp
EXPOSE 5000/tcp #EXPOSE 5000/tcp
CMD gunicorn -b 0.0.0.0:$PORT ayct_backend:create_app() --timeout 120 CMD ["gunicorn", "--bind 0.0.0.0:$PORT", "ayct_backend:create_app()", "--timeout 120"]