diff --git a/Dockerfile b/Dockerfile index 831ee92da98a9c44ebee34cd9920c5db395bbf85..8c7bfad485e2fd5a47f7e5d851c068c77c912fdf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,6 @@ # build stage FROM node:18 as build-stage WORKDIR /app -HEALTHCHECK --interval=35s --timeout=4s CMD curl -f http://localhost || exit 1 # RUN apk add yarn COPY package.json ./ COPY package-lock.json ./ @@ -11,7 +10,7 @@ RUN npm run build-only # production stage FROM nginx:stable-alpine as production-stage -HEALTHCHECK --interval=305s --timeout=4s CMD curl --head -f http://localhost || exit 1 +HEALTHCHECK --interval=30s --timeout=4s CMD curl --head -f http://localhost || exit 1 COPY --from=build-stage /app/dist /usr/share/nginx/html COPY --from=build-stage /app/src/assets/env.template.js /tmp COPY nginx.conf /etc/nginx/conf.d/default.conf