node 14.18.1

This commit is contained in:
zadam 2021-10-14 22:22:27 +02:00
parent 449081807e
commit 241d1b1035
4 changed files with 6 additions and 6 deletions

View File

@ -2,10 +2,10 @@ image:
file: .gitpod.dockerfile
tasks:
- before: nvm install 14.17.6 && nvm use 14.17.6
- before: nvm install 14.18.1 && nvm use 14.18.1
init: npm install
command: npm run start-server
ports:
- port: 8080
onOpen: open-preview
onOpen: open-preview

View File

@ -1,4 +1,4 @@
FROM node:14.17.6-alpine
FROM node:14.18.1-alpine
# Create app directory
WORKDIR /usr/src/app

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
PKG_DIR=dist/trilium-linux-x64-server
NODE_VERSION=14.17.6
NODE_VERSION=14.18.1
if [ "$1" != "DONTCOPY" ]
then

View File

@ -5,7 +5,7 @@ if [[ $# -eq 0 ]] ; then
exit 1
fi
n exec 14.17.6 npm run webpack
n exec 14.18.1 npm run webpack
DIR=$1
@ -27,7 +27,7 @@ cp -r electron.js $DIR/
cp webpack-* $DIR/
# run in subshell (so we return to original dir)
(cd $DIR && n exec 14.17.6 npm install --only=prod)
(cd $DIR && n exec 14.18.1 npm install --only=prod)
# cleanup of useless files in dependencies
rm -r $DIR/node_modules/image-q/demo