diff --git a/Dockerfile b/Dockerfile index f13609b..001786c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,4 +9,4 @@ COPY . . RUN pip3 install -r requirements.txt EXPOSE 5000/udp EXPOSE 5000/tcp -CMD ["gunicorn", "-b", "0.0.0.0:5000", "ayct_backend:app", "--timeout", "120"] \ No newline at end of file +CMD ["gunicorn", "-b", "0.0.0.0:5000", "ayct_backend:create_app()", "--timeout", "120"] \ No newline at end of file diff --git a/ayct_backend/__init__.py b/ayct_backend/__init__.py index 4f782f7..4dee880 100644 --- a/ayct_backend/__init__.py +++ b/ayct_backend/__init__.py @@ -26,4 +26,4 @@ def create_app(): def hello(): return "Hello world!" - return app \ No newline at end of file + return app