Commit 1fcd4302 authored by luchaowu's avatar luchaowu

update ci

parent 3a07a752
...@@ -18,7 +18,6 @@ build_docker: ...@@ -18,7 +18,6 @@ build_docker:
script: script:
- ls -la - ls -la
- pwd - pwd
- npm run web-build
- docker ps - docker ps
- docker build -t $DEPLOY_DOCKER_NAME . - docker build -t $DEPLOY_DOCKER_NAME .
- docker push $DEPLOY_DOCKER_NAME - docker push $DEPLOY_DOCKER_NAME
......
...@@ -5,7 +5,9 @@ WORKDIR /home/worker/opservice.yidian-inc.com/htdocs ...@@ -5,7 +5,9 @@ WORKDIR /home/worker/opservice.yidian-inc.com/htdocs
COPY package.json package-lock.json ./ COPY package.json package-lock.json ./
RUN npm install --production --registry=http://10.126.154.169:4873/ RUN npm install --production --registry=http://10.126.154.169:4873/
RUN npm run web-build
COPY . . COPY . .
......
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