diff --git a/Dockerfile b/Dockerfile index 8e8981d..6a9133c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,4 +7,4 @@ COPY . . EXPOSE 80 WORKDIR /app/src ENV WSGI 1 -CMD ["conda", "run", "--no-capture-output", "-n", "auto-trading", "gunicorn", "app:get_app", "--config", "config.py"] +CMD ["conda", "run", "--no-capture-output", "-n", "auto-trading", "gunicorn", "app:app", "--config", "config.py"] diff --git a/src/app.py b/src/app.py index 2240b85..d9e442d 100644 --- a/src/app.py +++ b/src/app.py @@ -35,6 +35,3 @@ def start_price_cache(): if __name__ == '__main__': start_price_cache() app.run() - -def get_app(): - return app