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 src src
COPY util util
COPY config.yml ./
COPY server.js ./
COPY \
server.js \
config.yml \
npm-config.npmrc \
./
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": {
"start": "nodemon ./server.js"
},
"engines": {
"node": ">=18",
"npm": ">=8"
},
"keywords": [],
"license": "GPL-3.0",
"dependencies": {