diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d77ff9..df9d5f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [3.3.0] - 2025-12-21 +## [3.3.2] - 2025-12-22 + +### 🔄 Changed +- **配置文件** + - 自动复制初始化配置文件,并放进`data/config.yaml`,Docker友好化 + - 优化 Dockerfile + - 初始化脚本不再依赖配置文件,支持交互式和参数传入式配置代理 + - 优化 WebUI 文案和日志排列 + +## [3.3.1] - 2025-12-21 ### ✨ Added - **新增适配器** diff --git a/Dockerfile b/Dockerfile index e011bd4..16243c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,18 +32,7 @@ RUN npm install -g pnpm && pnpm install --frozen-lockfile COPY . . RUN npm run init -# 4. 生成默认配置文件 -RUN cp config.example.yaml config.yaml - EXPOSE 3000 5900 -# 5. 启动脚本:同步 data 目录中的配置文件 -CMD ["/bin/sh", "-c", "\ - if [ -f /app/data/config.yaml ]; then \ - cp /app/data/config.yaml /app/config.yaml; \ - else \ - mkdir -p /app/data; \ - cp /app/config.yaml /app/data/config.yaml; \ - fi; \ - npm start -- -xvfb -vnc \ -"] \ No newline at end of file +# 4. 启动服务(配置文件会自动从 config.example.yaml 复制到 data/config.yaml) +CMD ["npm", "start", "--", "-xvfb", "-vnc"] \ No newline at end of file diff --git a/README.md b/README.md index 34e4390..cf7fd69 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,11 @@
-
+
+
+
+