Ensure consistent versions of node and npm

This commit is contained in:
Björn Fromme
2021-12-21 16:21:12 +01:00
parent 078b917252
commit 76469bb40e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
ARG BASE_IMAGE
FROM $BASE_IMAGE
RUN npm i -g n && n stable
RUN npm i -g n && n 14
RUN npm i -g npm
+1 -1
View File
@@ -9,7 +9,7 @@
"build": "NODE_ENV=production ./node_modules/.bin/encore production"
},
"engines": {
"node": ">=16"
"node": ">=14"
},
"dependencies": {
"@splidejs/splide": "^2.4.21",