Skip to content

Commit

Permalink
“Docker non-root healthcheck”
Browse files Browse the repository at this point in the history
  • Loading branch information
holo committed Mar 15, 2023
1 parent f541bf1 commit e6803e9
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 e6803e9

Please sign in to comment.