Merge pull request #3685 from holoword/holoword/issue3677

“Docker non-root healthcheck”
This commit is contained in:
zadam 2023-03-14 20:44:35 +01:00 committed by GitHub
commit 7b1d6c3937
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,4 +39,4 @@ RUN adduser -s /bin/false node; exit 0
EXPOSE 8080
CMD [ "./start-docker.sh" ]
HEALTHCHECK --start-period=10s CMD node docker_healthcheck.js
HEALTHCHECK --start-period=10s CMD exec su-exec node node docker_healthcheck.js