Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
d8291e32
Commit
d8291e32
authored
Jul 24, 2025
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
8d8d5d9f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
Dockerfile
+1
-1
No files found.
Dockerfile
View file @
d8291e32
...
@@ -21,7 +21,7 @@ COPY . .
...
@@ -21,7 +21,7 @@ COPY . .
RUN
npm run build
RUN
npm run build
# 第二阶段:部署到 Nginx
# 第二阶段:部署到 Nginx
FROM
nginx:1.21-alpine
FROM
registry.cn-hangzhou.aliyuncs.com/library/
nginx:1.21-alpine
# 复制构建产物到 Nginx 静态目录
# 复制构建产物到 Nginx 静态目录
COPY
--from=builder /app/dist /usr/share/nginx/html
COPY
--from=builder /app/dist /usr/share/nginx/html
...
...
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