diff --git a/Dockerfile b/Dockerfile index 934888c..8fe16e4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,5 +44,5 @@ EXPOSE 5000 HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 \ CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:5000/auth/login')" || exit 1 -CMD ["gunicorn", "--bind", "0.0.0.0:5000", "--workers", "2", "--timeout", "120", "app:create_app()"] +CMD ["gunicorn", "--bind", "0.0.0.0:5000", "--workers", "2", "--timeout", "120", "--preload", "app:create_app()"] \ No newline at end of file