fix docker build

This commit is contained in:
zadam 2020-10-27 19:39:54 +01:00
parent 5f20d033a8
commit 609829653e
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
FROM node:12.16.3-alpine FROM node:12.19.0-alpine
# Create app directory # Create app directory
WORKDIR /usr/src/app WORKDIR /usr/src/app

View file

@ -5,7 +5,7 @@ SERIES=${VERSION:0:4}-latest
cat package.json | grep -v electron > server-package.json 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 if [[ $VERSION != *"beta"* ]]; then
sudo docker tag zadam/trilium:$VERSION zadam/trilium:latest sudo docker tag zadam/trilium:$VERSION zadam/trilium:latest