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:
@@ -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;"]
|
||||
|
||||
Reference in New Issue
Block a user