change app.py to be __init__.py and update dockerfile and readme accordingly

This commit is contained in:
JesseBot 2024-05-30 11:15:17 +02:00
parent e895532dc1
commit ab42fff185
3 changed files with 28 additions and 9 deletions

View file

@ -38,4 +38,5 @@ RUN addgroup --gid 1000 app && \
USER 1000
# CMD ["/app/.venv/bin/gunicorn", "--bind", ":80", "app:app"]
CMD ["/app/.venv/bin/gunicorn" , "-b", "0.0.0.0:8080", "app:app"]
# CMD ["/app/.venv/bin/gunicorn" , "-b", "0.0.0.0:8080", "app:app"]
CMD ["/app/.venv/bin/gunicorn" , "-b", "0.0.0.0:8080", "tiny_personal_website:app"]