Commit 9cea9ad9 by zhangxingmin

push

parent 7bed171a
# Dockerfile (位于项目根目录)
# Dockerfile
# 第一阶段:构建环境
FROM ubuntu:20.04 AS builder
......@@ -61,8 +61,8 @@ RUN npm config set registry https://registry.npmmirror.com && \
# 安装项目依赖
RUN npm install --no-audit
# 从宿主机复制已安装的 HBuilderX
COPY --from=host /var/jenkins_home/HBuilderX /opt/HBuilderX
# 复制 HBuilderX (使用构建上下文中的副本)
COPY hbuilder_temp_* /opt/HBuilderX
# 修复 HBuilderX 权限
RUN chmod 755 /opt/HBuilderX/cli && \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment