diff --git a/Dockerfile b/Dockerfile index 7b56e20..cfc871e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] diff --git a/formula10/__init__.py b/formula10/__init__.py index b56711f..6b3fbc0 100644 --- a/formula10/__init__.py +++ b/formula10/__init__.py @@ -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") \ No newline at end of file +# - Generate static diagram using chart.js + templating the js (funny yikes) \ No newline at end of file