docker file

This commit is contained in:
CHIEFSOFT\ameye
2025-06-22 21:17:36 -04:00
parent 0c2c218c64
commit 169983add6
+6 -6
View File
@@ -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"]