Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
贷
贷超管理后台
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
zhanhai
贷超管理后台
Commits
b06274d5
Commit
b06274d5
authored
Nov 22, 2021
by
liuzicheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Dockerfile
parent
a82f9269
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Dockerfile
Dockerfile
+1
-1
No files found.
Dockerfile
View file @
b06274d5
...
...
@@ -11,7 +11,7 @@ RUN cnpm install --no-progress
RUN
npm run build
# production stage
# 使用nginx镜像
FROM
nginxstable-alpine as production-stage
FROM
nginx
:
stable-alpine as production-stage
# 使用--from把上面产生的静态文件复制到nginx的运行目录
COPY
--from=build-stage appdist usrsharenginxhtml
# nginx容器内部暴露的端口
...
...
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