Upgrade node to v16
This commit is contained in:
parent
d6fae3d285
commit
d1832df5f7
|
|
@ -1,2 +1,2 @@
|
|||
nodejs 14.20.1
|
||||
nodejs 16.20.1
|
||||
python 3.8.13
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ FROM python:3.8.10
|
|||
ENV PYTHONUNBUFFERED 1
|
||||
|
||||
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 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
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
# -----
|
||||
# You can specify a custom docker image from Docker Hub as your build environment.
|
||||
image:
|
||||
name: iterativ/skillbox-test@sha256:60d6bb808a9f0ff7b158192866a18eb7a5381a12621184c17bf5a4fb55384362
|
||||
name: iterativ/skillbox-test:node16
|
||||
|
||||
clone:
|
||||
depth: full
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@
|
|||
"vuex": "4.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 14.x",
|
||||
"node": ">= 16.x",
|
||||
"npm": ">= 8.x"
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@
|
|||
"vuex": "4.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 14.x",
|
||||
"node": ">= 16.x",
|
||||
"npm": ">= 8.x"
|
||||
},
|
||||
"browserslist": [
|
||||
|
|
|
|||
|
|
@ -2,12 +2,14 @@
|
|||
"name": "myskillbox",
|
||||
"version": "1.1.0",
|
||||
"description": "\"Heroku client build\"",
|
||||
"cacheDirectories": ["client/node_modules"],
|
||||
"cacheDirectories": [
|
||||
"client/node_modules"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "npm install --prefix client && npm run build --prefix client"
|
||||
},
|
||||
"engines": {
|
||||
"node": "14.x",
|
||||
"node": "16.x",
|
||||
"npm": ">= 8.x"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue