Update app templates and routes

This commit is contained in:
2026-01-24 10:09:33 +01:00
parent 3684d98456
commit 4d4ab086c9
6 changed files with 70 additions and 15 deletions

View File

@@ -16,6 +16,9 @@ RUN pip install --no-cache-dir -r requirements.txt \
COPY . .
# Ensure entrypoint is executable
RUN chmod +x docker/entrypoint.sh
# Create runtime dirs (also mountable as volumes)
RUN mkdir -p instance app/static/uploads
@@ -27,4 +30,4 @@ ENV FLASK_ENV=production \
GUNICORN_BIND=0.0.0.0:8000
# Run via WSGI entrypoint
CMD ["sh", "-c", "gunicorn -w ${GUNICORN_WORKERS} -b ${GUNICORN_BIND} wsgi:app"]
CMD ["sh", "-c", "./docker/entrypoint.sh"]