Files
runner-dashboard/Dockerfile
peptiderepo 3742a7f250 fix: add HEALTHCHECK to Dockerfile for Coolify health gate
Coolify inspects Docker .State.Health.Status; container needs a
HEALTHCHECK instruction for the health gate to pass.

Agent-Session: runner-dashboard-deploy-2026-06-19
2026-06-19 09:08:03 +00:00

16 lines
269 B
Docker

FROM node:20-alpine
RUN apk add --no-cache wget
WORKDIR /app
COPY server.js .
COPY index.html .
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=5s --start-period=20s --retries=3 \
CMD wget -qO- http://localhost:3000/healthz || exit 1
CMD ["node", "server.js"]