fix: drop Dockerfile healthcheck blocking Coolify deploys

The wget probe failed because nginx listens on IPv4 only while BusyBox
wget resolved localhost to ::1 first, returning Connection refused
despite a healthy nginx. A static SPA needs no liveness probe beyond
the container's running state; remove the HEALTHCHECK entirely.
This commit is contained in:
Julien Calixte
2026-05-28 11:56:15 +02:00
parent 9a93cf1d2c
commit e17916cc39

View File

@@ -14,7 +14,4 @@ COPY --from=builder /app/dist /usr/share/nginx/html
EXPOSE 80
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD wget -qO- http://localhost/ > /dev/null || exit 1
CMD ["nginx", "-g", "daemon off;"]