From 4ff3eee77b41466d08117970970d01be6e48ffe1 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Fri, 28 Mar 2025 19:02:30 +0800
Subject: [PATCH] Merge branch 'master' of http://139.196.74.78:10010/r/drone/pilot-h5

---
 Dockerfile |   22 +---------------------
 1 files changed, 1 insertions(+), 21 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 6019c4d..1f498e0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,24 +14,4 @@
 RUN npm run build-only
 
 # 查看
-RUN ls /app/dist
- 
-# 创建一个目录来存放打包后的文件
-RUN mkdir -p /app/dist-final
- 
-# 将构建阶段中的打包文件拷贝到最终镜像的指定目录
-# 注意:这里使用了 `--from=build-env` 来引用前面的构建阶段
-# COPY --from=build-env /app/dist /app/dist-final
-
-# 创建一个新的镜像阶段来服务构建后的文件
-FROM nginx:alpine
- 
-# 复制构建后的文件到 Nginx 的 html 目录
-# 注意:这里假设在 build-env 阶段中 dist 目录被正确创建在 /app/dist
-COPY --from=build-env /app/dist /app/dist-final
- 
-# 暴露端口
-EXPOSE 8310
- 
-# 启动 Nginx
-CMD ["nginx", "-g", "daemon off;"]
\ No newline at end of file
+RUN ls /app/dist
\ No newline at end of file

--
Gitblit v1.9.3