postgres 18 does not work on ubuntu 22

This commit is contained in:
2026-01-12 20:53:19 +01:00
parent 009f5f7db7
commit dfec397dc2
2 changed files with 4 additions and 4 deletions

View File

@@ -10,9 +10,9 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . ./app/
# Expose Gunicorn port
EXPOSE 8000
EXPOSE 4444
# Gunicorn command for a package structure
# "app:create_app()" assumes you have a factory function in __init__.py
# If your Flask instance is just named 'app' inside __init__.py, use "app:app"
CMD ["gunicorn", "--preload", "-w", "4", "-b", "0.0.0.0:8000", "app:create_app()"]
CMD ["gunicorn", "--preload", "-w", "4", "-b", "0.0.0.0:4444", "app:create_app()"]