diff --git a/Dockerfile b/Dockerfile index f4f7398..4637428 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,4 +9,7 @@ COPY . . EXPOSE 3005 +HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \ + CMD wget -qO- http://localhost:3005/ || exit 1 + CMD ["node", "app.js"]