diff --git a/Dockerfile b/Dockerfile index 99534a78a..8ac8d9ac1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:12.16.3-alpine +FROM node:12.19.0-alpine # Create app directory WORKDIR /usr/src/app diff --git a/bin/build-docker.sh b/bin/build-docker.sh index 69b705c1b..c77850eba 100755 --- a/bin/build-docker.sh +++ b/bin/build-docker.sh @@ -5,7 +5,7 @@ SERIES=${VERSION:0:4}-latest cat package.json | grep -v electron > server-package.json -sudo docker build -t zadam/trilium:$VERSION -t zadam/trilium:$SERIES . +sudo docker build -t zadam/trilium:$VERSION --network host -t zadam/trilium:$SERIES . if [[ $VERSION != *"beta"* ]]; then sudo docker tag zadam/trilium:$VERSION zadam/trilium:latest