Skip to content

Commit

Permalink
Merge pull request #3685 from holoword/holoword/issue3677
Browse files Browse the repository at this point in the history
“Docker non-root healthcheck”
  • Loading branch information
zadam authored Mar 14, 2023
2 parents 0b24011 + e6803e9 commit 7b1d6c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7b1d6c3

Please sign in to comment.