mirror of
https://github.com/zadam/trilium.git
synced 2024-09-20 23:55:59 +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
|
||||
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…
Reference in a new issue