This commit is contained in:
Ivan Rezchikov
2026-07-11 20:51:30 +03:00
parent e148963425
commit d7bd4865a8
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -16,4 +16,4 @@ RUN npm prune --omit=dev
EXPOSE 80
CMD ["npm", "start", "--", "-p", "3000", "-H", "0.0.0.0"]
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD wget -q --spider http://localhost:80/ || exit 1
CMD wget -q --spider http://localhost:3000/ || exit 1