mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
Updated builds to use node 18.20.4 LTS
This commit is contained in:
parent
30dce78737
commit
882f9eabb1
@ -2,7 +2,7 @@ image:
|
|||||||
file: .gitpod.dockerfile
|
file: .gitpod.dockerfile
|
||||||
|
|
||||||
tasks:
|
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
|
init: npm install
|
||||||
command: npm run start-server
|
command: npm run start-server
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# !!! Don't try to build this Dockerfile directly, run it through bin/build-docker.sh script !!!
|
# !!! 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
|
# Create app directory
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
@ -9,7 +9,7 @@ if ! [[ $(which npm) ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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"
|
DIR="$1"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user