Updated builds to use node 18.20.4 LTS

This commit is contained in:
chesspro13 2024-07-10 12:28:28 -07:00
parent 30dce78737
commit 882f9eabb1
No known key found for this signature in database
GPG Key ID: 5FEAE94D298066E5
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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"