diff --git a/Dockerfile b/Dockerfile index 385f145..e8a5b44 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,4 +13,7 @@ COPY --from=builder /app/node_modules node_modules/ COPY package.json . EXPOSE 3000 ENV NODE_ENV=production + +HEALTHCHECK CMD curl --fail http://localhost:3000 || exit 1 + CMD [ "node", "build" ]