mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-01 12:27:41 +08:00
Merge pull request #3685 from holoword/holoword/issue3677
“Docker non-root healthcheck”
This commit is contained in:
commit
7b1d6c3937
@ -39,4 +39,4 @@ RUN adduser -s /bin/false node; exit 0
|
|||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
CMD [ "./start-docker.sh" ]
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user