From 2800fa4f32f3900509cb4d6eefaf2bfaf54efdd7 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Mon, 21 Apr 2025 18:29:09 +0800
Subject: [PATCH] fix: 天气显示

---
 Dockerfile.test |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/Dockerfile.test b/Dockerfile.test
index e78e7b1..b463a31 100644
--- a/Dockerfile.test
+++ b/Dockerfile.test
@@ -7,13 +7,10 @@
 # 将当前目录(Vue 项目目录)的内容复制到 /app 目录中
 COPY . .
 # 安装项目依赖
-RUN rm -rf node_modules && npm install --registry=https://registry.npmmirror.com
-
-# 验证字体文件是否被正确复制
-RUN ls -la src/assets/fonts/YouSheBiaoTiHei.ttf || echo "检查字体文件路径"
+RUN rm -rf node_modules package-lock.json && npm install --registry=https://registry.npmmirror.com
 
 # 构建项目
-RUN npm run build:dev
+RUN npm run build:test
 
 # 查看
-RUN ls /app/dist
\ No newline at end of file
+RUN ls /app/dist

--
Gitblit v1.9.3