forked from bro-students/multy-stub
fix test script
This commit is contained in:
parent
321dc4c3c5
commit
4872d552bc
@ -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
2
Jenkinsfile
vendored
@ -1,7 +1,7 @@
|
||||
pipeline {
|
||||
agent {
|
||||
docker {
|
||||
image 'node:16'
|
||||
image 'node:18'
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user