modified: Dockerfile

modified:   app.py
This commit is contained in:
SimolZimol
2025-05-15 22:42:21 +02:00
parent 2834e26477
commit 20509d212d
2 changed files with 2 additions and 1 deletions

View File

@@ -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"]

2
app.py
View File

@@ -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)