build: 移除Dockerfile中的mailcap依赖并优化前端配置
Docker Build and Push / build (push) Has been cancelled

- 删除Dockerfile中不必要的mailcap包以精简镜像
- 将前端配置从process.env改为import.meta.env以适配现代构建工具
- 移除Go代码中手动设置mime类型的冗余逻辑
- 修复静态资源路由路径格式(/assets改为assets/)
- 优化导入语句格式和代码结构
This commit is contained in:
2026-02-10 20:46:06 +08:00
parent 7f9b638553
commit 07f4be3fc1
4 changed files with 14 additions and 18 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ FROM debian:stable-slim
ENV TZ=Asia/Shanghai
RUN apt-get update \
&& apt-get install -y ca-certificates tzdata mailcap \
&& apt-get install -y ca-certificates tzdata \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app