Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
op-web-service
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bp
op-web-service
Commits
1fcd4302
Commit
1fcd4302
authored
Jun 09, 2021
by
luchaowu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update ci
parent
3a07a752
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
.gitlab-ci.yml
.gitlab-ci.yml
+0
-1
Dockerfile
Dockerfile
+3
-1
No files found.
.gitlab-ci.yml
View file @
1fcd4302
...
@@ -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
...
...
Dockerfile
View file @
1fcd4302
...
@@ -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
. .
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment