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
344e9e42
Commit
344e9e42
authored
Jul 23, 2025
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
4468e60a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
Dockerfile
+3
-6
No files found.
Dockerfile
View file @
344e9e42
...
@@ -23,13 +23,10 @@ WORKDIR /app
...
@@ -23,13 +23,10 @@ WORKDIR /app
# 复制项目文件
# 复制项目文件
COPY
. .
COPY
. .
# 复制 HBuilderX 安装包(从构建上下文)
# 安装 HBuilderX - 使用当前目录下的文件
COPY
hbuilderx.tar.gz /tmp/hbuilderx.tar.gz
# 安装 HBuilderX
RUN
mkdir
-p
/opt/HBuilderX
&&
\
RUN
mkdir
-p
/opt/HBuilderX
&&
\
tar
-xzvf
/tmp/
hbuilderx.tar.gz
-C
/opt/HBuilderX
--strip-components
=
1
&&
\
tar
-xzvf
hbuilderx.tar.gz
-C
/opt/HBuilderX
--strip-components
=
1
&&
\
rm
-f
/tmp/
hbuilderx.tar.gz
&&
\
rm
-f
hbuilderx.tar.gz
&&
\
chmod +x /opt/HBuilderX/cli
&&
\
chmod +x /opt/HBuilderX/cli
&&
\
if
[
!
-f
"/opt/HBuilderX/cli"
]
;
then
\
if
[
!
-f
"/opt/HBuilderX/cli"
]
;
then
\
echo
"HBuilderX CLI 安装失败!"
;
\
echo
"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