From 882f9eabb1bbb66597cb4fcbfe163a24abcb699c Mon Sep 17 00:00:00 2001 From: chesspro13 Date: Wed, 10 Jul 2024 12:28:28 -0700 Subject: [PATCH] Updated builds to use node 18.20.4 LTS --- .gitpod.yml | 4 ++-- Dockerfile | 2 +- bin/copy-trilium.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index 65ce50015..ca9ecf88c 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,8 +1,8 @@ image: - file: .gitpod.dockerfile + file: .gitpod.dockerfile tasks: - - before: nvm install 18.18.2 && nvm use 18.18.2 + - before: nvm install 18.20.4 && nvm use 18.20.4 init: npm install command: npm run start-server diff --git a/Dockerfile b/Dockerfile index d8cb9b0c3..c1e725a01 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # !!! Don't try to build this Dockerfile directly, run it through bin/build-docker.sh script !!! -FROM node:18.18.2-alpine +FROM node:18.20.4-alpine # Create app directory WORKDIR /usr/src/app diff --git a/bin/copy-trilium.sh b/bin/copy-trilium.sh index d4161c5ff..24b994079 100755 --- a/bin/copy-trilium.sh +++ b/bin/copy-trilium.sh @@ -9,7 +9,7 @@ if ! [[ $(which npm) ]]; then exit 1 fi -n exec 18.18.2 npm run webpack || npm run webpack +n exec 18.20.4 npm run webpack || npm run webpack DIR="$1"