Upgrade node to v16

This commit is contained in:
Ramon Wenger 2023-08-07 16:46:53 +02:00
parent d6fae3d285
commit d1832df5f7
6 changed files with 9 additions and 7 deletions

View File

@ -1,2 +1,2 @@
nodejs 14.20.1 nodejs 16.20.1
python 3.8.13 python 3.8.13

View File

@ -2,7 +2,7 @@ FROM python:3.8.10
ENV PYTHONUNBUFFERED 1 ENV PYTHONUNBUFFERED 1
RUN pip install pipenv RUN pip install pipenv
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash RUN curl -sL https://deb.nodesource.com/setup_16.x | bash
RUN apt-get install nodejs -y RUN apt-get install nodejs -y
RUN apt-get install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb -y RUN apt-get install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb -y
RUN apt-get install postgresql postgresql-contrib -y RUN apt-get install postgresql postgresql-contrib -y

View File

@ -4,7 +4,7 @@
# ----- # -----
# You can specify a custom docker image from Docker Hub as your build environment. # You can specify a custom docker image from Docker Hub as your build environment.
image: image:
name: iterativ/skillbox-test@sha256:60d6bb808a9f0ff7b158192866a18eb7a5381a12621184c17bf5a4fb55384362 name: iterativ/skillbox-test:node16
clone: clone:
depth: full depth: full

View File

@ -88,7 +88,7 @@
"vuex": "4.0.1" "vuex": "4.0.1"
}, },
"engines": { "engines": {
"node": ">= 14.x", "node": ">= 16.x",
"npm": ">= 8.x" "npm": ">= 8.x"
} }
}, },

View File

@ -113,7 +113,7 @@
"vuex": "4.0.1" "vuex": "4.0.1"
}, },
"engines": { "engines": {
"node": ">= 14.x", "node": ">= 16.x",
"npm": ">= 8.x" "npm": ">= 8.x"
}, },
"browserslist": [ "browserslist": [

View File

@ -2,12 +2,14 @@
"name": "myskillbox", "name": "myskillbox",
"version": "1.1.0", "version": "1.1.0",
"description": "\"Heroku client build\"", "description": "\"Heroku client build\"",
"cacheDirectories": ["client/node_modules"], "cacheDirectories": [
"client/node_modules"
],
"scripts": { "scripts": {
"build": "npm install --prefix client && npm run build --prefix client" "build": "npm install --prefix client && npm run build --prefix client"
}, },
"engines": { "engines": {
"node": "14.x", "node": "16.x",
"npm": ">= 8.x" "npm": ">= 8.x"
} }
} }