proper shutdown signalling

This commit is contained in:
PROFERIS - Mi³osz Stocki
2026-07-07 15:14:46 +02:00
parent c56dd1fbe7
commit 1fe1b9fd0b
+3
View File
@@ -9,5 +9,8 @@ COPY web/ ./web/
# Expose a random non-standard port
EXPOSE 8421
# Python's http.server gracefully exits on SIGINT (Ctrl+C) rather than SIGTERM
STOPSIGNAL SIGINT
# Run the python HTTP server
CMD ["python", "-m", "http.server", "8421"]