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
e56ae81b
Commit
e56ae81b
authored
Jul 23, 2025
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
344e9e42
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Dockerfile
+5
-5
No files found.
Dockerfile
View file @
e56ae81b
...
...
@@ -23,11 +23,11 @@ WORKDIR /app
# 复制项目文件
COPY
. .
#
安装 HBuilderX - 使用当前目录下的文件
RUN
mkdir
-p
/opt/HBuilderX
&&
\
tar
-xzvf
hbuilderx.tar.gz
-C
/opt/HBuilderX
--strip-components
=
1
&&
\
rm
-f
hbuilderx.tar.gz
&&
\
chmod +x /opt/HBuilderX/cli
&&
\
#
关键修改:直接复制已解压的 HBuilderX 目录
COPY
./HBuilderX /opt/HBuilderX
# 检查并设置权限
RUN
chmod +x /opt/HBuilderX/cli
&&
\
if
[
!
-f
"/opt/HBuilderX/cli"
]
;
then
\
echo
"HBuilderX CLI 安装失败!"
;
\
exit
1
;
\
...
...
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