chore: add static directory to Docker image build with COPY instruction

Add COPY static ./static to Dockerfile to include static assets (CSS/JS/images) in container image alongside templates directory
This commit is contained in:
2026-08-17 19:42:10 +02:00
parent 7469ec7b9f
commit f5d8b4189c
+1
View File
@@ -7,5 +7,6 @@ COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app.py .
COPY templates ./templates
COPY static ./static
EXPOSE 8099
CMD ["gunicorn", "--bind", "0.0.0.0:8099", "--workers", "1", "--threads", "4", "--timeout", "120", "app:app"]