fix test script

This commit is contained in:
Primakov Alexandr Alexandrovich 2023-08-01 13:15:12 +03:00
parent 321dc4c3c5
commit 4872d552bc
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ COPY ./package.json /usr/src/app/package.json
COPY ./.serverrc.js /usr/src/app/.serverrc.js
# COPY ./.env /usr/src/app/.env
RUN npm ci --only=prod
RUN npm i --only=prod
EXPOSE 8044
CMD ["npm", "run", "up:prod"]

2
Jenkinsfile vendored
View File

@ -1,7 +1,7 @@
pipeline {
agent {
docker {
image 'node:16'
image 'node:18'
}
}

View File

@ -13,7 +13,7 @@
"eslint": "npx eslint ./server",
"eslint:fix": "npx eslint ./server --fix",
"test": "echo \"test complete\"",
"test:start": "start-server-and-test up:prod 8043 test"
"test:start": "start-server-and-test up:prod 8044 test"
},
"repository": {
"type": "git",