OOP and documented

This commit is contained in:
Matthew Raymer
2023-10-09 07:15:57 -04:00
parent 2b048c5a77
commit 53d2a31da7
3 changed files with 230 additions and 24 deletions

View File

@@ -40,7 +40,5 @@ RUN chown -R myuser:myuser /app
# Switch to the created user
USER myuser
RUN python3 init_db.py
# Start gunicorn with the appropriate options
CMD ["gunicorn", "-b", "0.0.0.0:3000", "--log-level=debug", "--workers=3", "app:create_app('default')"]
CMD ["gunicorn", "-b", "0.0.0.0:3000", "--log-level=debug", "--workers=3", "app:app"]