docker file
This commit is contained in:
+6
-6
@@ -17,12 +17,12 @@ EXPOSE 5000
|
|||||||
ENV FLASK_APP=app.py
|
ENV FLASK_APP=app.py
|
||||||
ENV FLASK_RUN_HOST=0.0.0.0
|
ENV FLASK_RUN_HOST=0.0.0.0
|
||||||
|
|
||||||
#RUN chmod +x scripts/entrypoint.sh
|
RUN chmod +x scripts/entrypoint.sh
|
||||||
#
|
|
||||||
#ENTRYPOINT ["scripts/entrypoint.sh"]
|
|
||||||
|
|
||||||
CMD ["sh", "-c", \
|
ENTRYPOINT ["scripts/entrypoint.sh"]
|
||||||
"echo 'Starting Gunicorn server...' && \
|
|
||||||
exec gunicorn -w 4 -b 0.0.0.0:5000 wsgi:wsgi_app"]
|
#CMD ["sh", "-c", \
|
||||||
|
# "echo 'Starting Gunicorn server...' && \
|
||||||
|
# exec gunicorn -w 4 -b 0.0.0.0:5000 wsgi:wsgi_app"]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user