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)