This commit is contained in:
12600k-rog-d4
2026-09-07 10:29:54 +08:00
parent 1e5c48ffdd
commit 774cae3c02
15 changed files with 63 additions and 24 deletions

View File

@@ -22,6 +22,6 @@ RUN mkdir -p /var/log/nginx && \
EXPOSE 80 443
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD wget --no-verbose --tries=1 --spider http://localhost/health || exit 1
CMD wget --no-verbose --tries=1 --spider http://localhost/ || exit 1
CMD ["nginx", "-g", "daemon off;"]