mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
“Docker non-root healthcheck”
This commit is contained in:
parent
f541bf186c
commit
e6803e9a9b
@ -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