fix(docker): 解决 Docker 构建和运行时版本信息读取失败问题

- 在 Dockerfile 中添加 CHANGELOG.md 文件复制到镜像中
- 修复前端在 Docker 环境下无法读取版本信息的问题
- 更新文档描述以反映构建和运行时的版本信息读取需求
- 调整测试用例描述以匹配实际的构建和运行场景
This commit is contained in:
HouYunFei
2026-05-20 16:47:49 +08:00
parent 7fb53b251c
commit a78eef73a8
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -29,6 +29,7 @@ FROM oven/bun:1.3.13
WORKDIR /app
COPY VERSION /app/VERSION
COPY CHANGELOG.md /app/CHANGELOG.md
COPY --from=api-build /server /app/server
COPY --from=web-build /app/web /app/web
ENV PROMPT_DATA_DIR=/app/data/prompts