Add health check to control-plane Dockerfile fix syntax

This commit is contained in:
Oskar Kapala 2026-05-12 20:28:13 +02:00
parent 793559a4b5
commit f4e6871d76

View file

@ -2,8 +2,8 @@ FROM python:3.11-slim
WORKDIR /app WORKDIR /app
healthcheck: HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8080/summary')"] CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8080/summary')"
RUN pip install --no-cache-dir pyyaml RUN pip install --no-cache-dir pyyaml