diff --git a/app/Dockerfile b/app/Dockerfile index 19dcee0..768b1a6 100644 --- a/app/Dockerfile +++ b/app/Dockerfile @@ -5,4 +5,5 @@ RUN apk add --update npm && \ npm install COPY . ./ EXPOSE 3000 3443 +HEALTHCHECK --interval=30s --timeout=5s CMD wget -qO- http://localhost:3000/ || exit 1 CMD ["node", "app.js"]