mirror of
https://github.com/zadam/trilium.git
synced 2024-12-27 01:34:05 +08:00
fix docker build
This commit is contained in:
parent
5f20d033a8
commit
609829653e
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue