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
9cea9ad9
Commit
9cea9ad9
authored
Aug 04, 2025
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
7bed171a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Dockerfile
+3
-3
No files found.
Dockerfile
View file @
9cea9ad9
# Dockerfile
(位于项目根目录)
# Dockerfile
# 第一阶段:构建环境
# 第一阶段:构建环境
FROM
ubuntu:20.04 AS builder
FROM
ubuntu:20.04 AS builder
...
@@ -61,8 +61,8 @@ RUN npm config set registry https://registry.npmmirror.com && \
...
@@ -61,8 +61,8 @@ RUN npm config set registry https://registry.npmmirror.com && \
# 安装项目依赖
# 安装项目依赖
RUN
npm install
--no-audit
RUN
npm install
--no-audit
#
从宿主机复制已安装的 HBuilderX
#
复制 HBuilderX (使用构建上下文中的副本)
COPY
--from=host /var/jenkins_home/HBuilderX
/opt/HBuilderX
COPY
hbuilder_temp_*
/opt/HBuilderX
# 修复 HBuilderX 权限
# 修复 HBuilderX 权限
RUN
chmod 755 /opt/HBuilderX/cli
&&
\
RUN
chmod 755 /opt/HBuilderX/cli
&&
\
...
...
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