Commit d74d3602 authored by HAYWAEL's avatar HAYWAEL

fix

parent 9a8c5425
Pipeline #27839 failed with stage
in 2 seconds
...@@ -13,6 +13,7 @@ build_docker_image: ...@@ -13,6 +13,7 @@ build_docker_image:
- dev - dev
- uat - uat
- pro - pro
- master
- tags - tags
script: script:
#- export IMAGE_TAG=${CI_COMMIT_TAG:-latest} #- export IMAGE_TAG=${CI_COMMIT_TAG:-latest}
......
...@@ -8,6 +8,7 @@ WORKDIR /usr/src/app ...@@ -8,6 +8,7 @@ WORKDIR /usr/src/app
COPY package.json /usr/src/app/ COPY package.json /usr/src/app/
RUN yarn config set registry "https://registry.npm.taobao.org/" RUN yarn config set registry "https://registry.npm.taobao.org/"
RUN yarn install RUN yarn install
RUN yarn run ci
COPY . /usr/src/app COPY . /usr/src/app
EXPOSE 7001 EXPOSE 7001
CMD [ "yarn", "docker" ] CMD [ "yarn", "docker" ]
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
"scripts": { "scripts": {
"start": "egg-scripts start --daemon --title=egg-server-zeus-server", "start": "egg-scripts start --daemon --title=egg-server-zeus-server",
"stop": "egg-scripts stop --title=egg-server-zeus-server", "stop": "egg-scripts stop --title=egg-server-zeus-server",
"docker": "npm run tsc&&egg-scripts start --title=egg-server-zeus-server", "docker": "egg-scripts start --title=egg-server-zeus-server",
"dev": "egg-bin dev", "dev": "egg-bin dev",
"debug": "egg-bin debug", "debug": "egg-bin debug",
"test-local": "egg-bin test", "test-local": "egg-bin test",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment