forked from DigiFi/digifi-BankToProductCore
mercore starter
This commit is contained in:
+8
-2
@@ -17,6 +17,12 @@ EXPOSE 5000
|
||||
ENV FLASK_APP=app.py
|
||||
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", \
|
||||
"echo 'Starting Gunicorn server...' && \
|
||||
exec gunicorn -w 4 -b 0.0.0.0:5000 wsgi:wsgi_app"]
|
||||
|
||||
|
||||
ENTRYPOINT ["scripts/entrypoint.sh"]
|
||||
Reference in New Issue
Block a user