diff --git a/Dockerfile b/Dockerfile index 86f95b0..2ca07fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,3 @@ RUN chmod +x /entrypoint.sh RUN chmod -R 777 /app ENTRYPOINT ["/entrypoint.sh"] - - -# Specify default command -CMD ["python", "app.py"] diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 1009932..2f2e88d 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -8,4 +8,4 @@ flask db init flask db migrate -m "Autogenerated migration" flask db upgrade -exec "$@" +python app.py