diff --git a/Dockerfile b/Dockerfile index 140eb7a..53f3222 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,12 +17,12 @@ EXPOSE 5000 ENV FLASK_APP=app.py ENV FLASK_RUN_HOST=0.0.0.0 -#RUN chmod +x scripts/entrypoint.sh -# -#ENTRYPOINT ["scripts/entrypoint.sh"] +RUN chmod +x 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"] + +#CMD ["sh", "-c", \ +# "echo 'Starting Gunicorn server...' && \ +# exec gunicorn -w 4 -b 0.0.0.0:5000 wsgi:wsgi_app"]