feat: serve app with gunicorn

This commit is contained in:
Christian Krakau-Louis
2026-05-17 16:45:19 +02:00
parent 567159ed29
commit ae8ec413d3
4 changed files with 20 additions and 5 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ RUN pip install --no-cache-dir -r requirements.txt
# The .dockerignore file ensures we only include what's specified
COPY musicround/ ./musicround/
COPY migrations/ ./migrations/
COPY run_migration.py run.py docker-entrypoint.sh LICENSE favicon.ico .
COPY run_migration.py run.py wsgi.py docker-entrypoint.sh LICENSE favicon.ico .
# Make the entrypoint script executable
RUN chmod +x docker-entrypoint.sh
@@ -31,4 +31,4 @@ ENV PYTHONPATH=/app
ENV FLASK_APP=run.py
# Use the entrypoint script
CMD ["./docker-entrypoint.sh"]
CMD ["./docker-entrypoint.sh"]