docker: Fix build by generating artifacts

This commit is contained in:
Elian Doran
2024-07-13 11:40:52 +03:00
parent 60d134a89b
commit d18bfb9d69
5 changed files with 11 additions and 3 deletions

View File

@@ -5,6 +5,9 @@ SERIES=${VERSION:0:4}-latest
cat package.json | grep -v electron > server-package.json
echo "Compiling typescript..."
npx tsc
sudo docker build -t zadam/trilium:$VERSION --network host -t zadam/trilium:$SERIES .
if [[ $VERSION != *"beta"* ]]; then