Got gunicorn working. Problem with sqlite intiailization to fix.

This commit is contained in:
Matthew Raymer
2023-09-28 08:34:21 -04:00
parent 2322ab7c83
commit ebebd2fce2
3 changed files with 85 additions and 84 deletions

View File

@@ -38,4 +38,4 @@ COPY --from=builder /usr/local /usr/local
USER myuser
# Start gunicorn with the appropriate options
CMD ["gunicorn", "-b", "0.0.0.0:5000", "--workers=3", "app:app"]
CMD ["gunicorn", "-b", "0.0.0.0:3000", "--log-level=debug", "--workers=3", "app:create_app('default')"]