diff --git a/server/Dockerfile b/server/Dockerfile index fa825451be..1308d809d1 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -80,4 +80,4 @@ EXPOSE 3001 ENTRYPOINT ["tini", "--", "/bin/bash"] CMD ["start.sh"] -HEALTHCHECK CMD npm run healthcheck +HEALTHCHECK CMD immich-healthcheck diff --git a/server/bin/immich-healthcheck b/server/bin/immich-healthcheck new file mode 100755 index 0000000000..6043e526aa --- /dev/null +++ b/server/bin/immich-healthcheck @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +node /usr/src/app/dist/utils/healthcheck.js