From f5d8b4189c0fd87e0e782c54e5c8228eec4db778 Mon Sep 17 00:00:00 2001 From: nessi Date: Mon, 17 Aug 2026 19:42:10 +0200 Subject: [PATCH] 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 --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index e96fd49..a37dedc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]