feat: serve app with gunicorn
This commit is contained in:
+2
-2
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user