Section 31 point 2: ship maintenance.py in the image

This commit is contained in:
ai-bot committed 2026-10-13 08:21:49 +00:00
1 parent 5a22fd0022
commit 6d60a1024f
1 file changed
+4 -2
+4 -2
View File
@@ -6,8 +6,10 @@ WORKDIR /app
# The whole application. static/ MUST be copied: app.py answers /health from
# code, but every page and asset is read from ./static, so an image without it
# reports a healthy service whose entire UI answers 404.
COPY app.py database.py alerts.py export.py validation.py ./
# reports a healthy service whose entire UI answers 404. maintenance.py MUST be
# copied too: the StartOS actions run it in a temporary subcontainer, so an
# image without it fails at runtime on the box while the tests stay green.
COPY app.py database.py alerts.py export.py validation.py maintenance.py ./
COPY static ./static
ENV PORT=8080