modified: Dockerfile

modified:   app.py
This commit is contained in:
SimolZimol
2024-09-02 17:30:34 +02:00
parent 1782c031d9
commit 0b903c1e44
2 changed files with 2 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ ENV OWNER_ID=$OWNER_ID
ENV FLASK_SECRET_KEY=$FLASK_SECRET_KEY ENV FLASK_SECRET_KEY=$FLASK_SECRET_KEY
ENV ADMIN_USER=$ADMIN_USER ENV ADMIN_USER=$ADMIN_USER
ENV ADMIN_PASS=$ADMIN_PASS ENV ADMIN_PASS=$ADMIN_PASS
ENV FLASK_ENV=development
# Startbefehl für das Webpanel # Startbefehl für das Webpanel
CMD ["python", "app.py"] CMD ["python", "app.py"]

2
app.py
View File

@@ -68,4 +68,4 @@ def settings():
return redirect(url_for("login")) return redirect(url_for("login"))
if __name__ == "__main__": if __name__ == "__main__":
app.run(host="0.0.0.0", port=5000) app.run(host="0.0.0.0", port=5000 debug=True)