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
......
...@@ -7,6 +7,8 @@ COPY package.json package-lock.json ./ ...@@ -7,6 +7,8 @@ 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 . .
#CMD ["npm", "start"] #CMD ["npm", "start"]
\ No newline at end of file
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