Drop Docker HEALTHCHECK (Swarm reschedule loop under Dokploy)

This commit is contained in:
Nicolas Civade
2026-08-13 11:55:02 +02:00
parent 3f0c87924b
commit 0fbe7ffb8b

View File

@@ -20,7 +20,5 @@ COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /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 2>&1 || exit 1
CMD ["nginx", "-g", "daemon off;"]