Update app templates and routes
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user