Fix healthcheck. Use /srv
All checks were successful
Go / build (push) Successful in 1m22s

This commit is contained in:
2023-10-27 16:33:31 +13:00
parent 6f13e4021e
commit 2064a593d1
2 changed files with 18 additions and 25 deletions

View File

@@ -22,10 +22,12 @@ USER app
EXPOSE 3000
HEALTHCHECK --timeout=3s CMD /snice healthcheck
HEALTHCHECK --timeout=10s CMD ["/snice", "healthcheck"]
COPY --from=builder /etc/passwd /etc/passwd
COPY --from=builder /snice /
VOLUME /srv
ENTRYPOINT ["/snice"]
CMD ["serve"]