refs #5473 actualizado node a la version 18
gitea/vn-rfid/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2023-04-25 11:49:09 +02:00
parent 33a99ca20a
commit 6ecce21a17
3 changed files with 10 additions and 2 deletions

View File

@ -5,6 +5,9 @@ RUN npm install
COPY db db COPY db db
COPY src src COPY src src
COPY util util COPY util util
COPY config.yml ./ COPY \
COPY server.js ./ server.js \
config.yml \
npm-config.npmrc \
./
CMD ["node", "server.js"] CMD ["node", "server.js"]

1
npm-config.npmrc Normal file
View File

@ -0,0 +1 @@
engine-strict=true

View File

@ -8,6 +8,10 @@
"scripts": { "scripts": {
"start": "nodemon ./server.js" "start": "nodemon ./server.js"
}, },
"engines": {
"node": ">=18",
"npm": ">=8"
},
"keywords": [], "keywords": [],
"license": "GPL-3.0", "license": "GPL-3.0",
"dependencies": { "dependencies": {