increase healtcheck timeout due to systemload (#9)

This commit is contained in:
OCram85 2022-01-20 16:12:38 +01:00 committed by GitHub
parent 6d30444559
commit 586acf83db
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