1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-28 09:33:27 +02: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