From 20509d212de50c418700fbedf02d5b0a00be46ae Mon Sep 17 00:00:00 2001 From: SimolZimol <70102430+SimolZimol@users.noreply.github.com> Date: Thu, 15 May 2025 22:42:21 +0200 Subject: [PATCH] modified: Dockerfile modified: app.py --- Dockerfile | 1 + app.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index be2121b..b7503ef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,7 @@ ENV SECRET_KEY=$SECRET_KEY ENV SPOTIPY_CLIENT_ID=$SPOTIPY_CLIENT_ID ENV SPOTIPY_CLIENT_SECRET=$SPOTIPY_CLIENT_SECRET ENV SPOTIPY_REDIRECT_URI=$SPOTIPY_REDIRECT_URI +ENV FLASK_ENV=development # Starten mit Gunicorn für Production CMD ["python", "app.py"] diff --git a/app.py b/app.py index 8fe6f29..068ebcd 100644 --- a/app.py +++ b/app.py @@ -80,4 +80,4 @@ def index(): return render_template('index.html', user=user) if __name__ == "__main__": - app.run(debug=True) + app.run(host="0.0.0.0", port=5000, debug=True)