X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=Dockerfile;h=0a43027dc75198b85e2b1302b3637842e88b698a;hb=9e1e82b0f3ce57f95f21fc09c70e2711e5105997;hp=d7179fc59e3a9b5864b0577f1fff57be6e6dc139;hpb=6dd8342bf08188622116e242122bb25b42085d93;p=github%2Fbastienwirtz%2Fhomer.git diff --git a/Dockerfile b/Dockerfile index d7179fc..0a43027 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ COPY . . RUN yarn build # production stage -FROM alpine:3.11 +FROM alpine:3.15 ENV USER darkhttpd ENV GROUP darkhttpd @@ -25,7 +25,7 @@ COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/ COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist/assets /www/default-assets COPY entrypoint.sh /entrypoint.sh -HEALTHCHECK --interval=5s --timeout=5s --retries=3 \ +HEALTHCHECK --interval=30s --timeout=5s --retries=3 \ CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:${PORT}/ || exit 1 EXPOSE ${PORT}