1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-29 15:11:58 +00:00

fix(server): healthcheck (#10811)

This commit is contained in:
Jason Rasmussen 2024-07-03 12:27:03 -04:00 committed by GitHub
parent ab2ea28ed9
commit de62bd3ba5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View file

@ -80,4 +80,4 @@ EXPOSE 3001
ENTRYPOINT ["tini", "--", "/bin/bash"]
CMD ["start.sh"]
HEALTHCHECK CMD npm run healthcheck
HEALTHCHECK CMD immich-healthcheck

3
server/bin/immich-healthcheck Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
node /usr/src/app/dist/utils/healthcheck.js