Update dockerfile
All checks were successful
Build Formula10 Docker Image / build-docker (push) Successful in 20s

This commit is contained in:
2024-02-24 17:49:34 +01:00
parent 686c7fe945
commit a371e5b304
2 changed files with 2 additions and 6 deletions

View File

@ -7,4 +7,4 @@ COPY requirements.txt requirements.txt
RUN pip3 install -r requirements.txt
COPY . .
EXPOSE 5000
CMD ["flask", "--app", "formula10" "--host=0.0.0.0"]
CMD ["python", "-m", "flask", "--app", "formula10" "--host=0.0.0.0"]

View File

@ -34,8 +34,4 @@ import formula10.controller.admin_controller # type: ignore
# - Auto calculate points
# - Order user table by points + display points somewhere
# - Show current values for some season guesses (e.g. current most dnfs)
# - Generate static diagram using chart.js + templating the js (funny yikes)
# if __name__ == "__main__":
# app.run(debug=True, host="0.0.0.0")
# - Generate static diagram using chart.js + templating the js (funny yikes)