increase healtcheck timeout due to systemload

This commit is contained in:
OCram85 2022-01-14 08:18:43 +01:00 committed by GitHub
parent 6d30444559
commit 8c701d5705
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ RUN npm install \
FROM nginx:1.21.5-alpine FROM nginx:1.21.5-alpine
LABEL maintainer="marco.blessing@googlemail.com" LABEL maintainer="marco.blessing@googlemail.com"
HEALTHCHECK --interval=15s --timeout=3s \ HEALTHCHECK --interval=15s --timeout=5s \
CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1 CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1
COPY --from=builder src/public /usr/share/nignx/html/ COPY --from=builder src/public /usr/share/nignx/html/
COPY nginx.conf /etc/nginx/nginx.conf COPY nginx.conf /etc/nginx/nginx.conf