mirror of
https://github.com/zadam/trilium.git
synced 2024-09-20 07:35:59 +08:00
Merge c375ff339a
into 82a437f2a8
This commit is contained in:
commit
818019a603
11
DockerHealthcheck.sh
Normal file
11
DockerHealthcheck.sh
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
URL=${TRILIUM_URL:-"http://localhost:8080"}
|
||||
|
||||
if curl -s "$URL" > /dev/null; then
|
||||
echo "Trilium is up and running."
|
||||
exit 0
|
||||
else
|
||||
echo "Trilium is not responding."
|
||||
exit 1
|
||||
fi
|
|
@ -21,6 +21,7 @@ RUN set -x \
|
|||
nasm \
|
||||
libpng-dev \
|
||||
python3 \
|
||||
curl \
|
||||
&& npm install \
|
||||
&& apk del .build-dependencies \
|
||||
&& npm run webpack \
|
||||
|
|
Loading…
Reference in a new issue