fix:更新版本号,更新配置文件构建

This commit is contained in:
2026-05-24 23:07:08 +08:00
parent 6efaff4eca
commit c7649dbe6b
4 changed files with 3 additions and 18 deletions
-1
View File
@@ -12,7 +12,6 @@ build
.gitignore
# Environment files
.env
.env.local
.env.*.local
-15
View File
@@ -1,15 +0,0 @@
# 数据库配置(外部服务)
DB_HOST=localhost
DB_PORT=3306
DB_USER=root
DB_PASSWORD=123456
DB_NAME=recipe_tools
# AI 翻译配置
AI_API_KEY=your_api_key_here
AI_BASE_URL=https://api.openai.com/v1
AI_MODEL=gpt-3.5-turbo
# 版本更新配置
# 在 OneDev 中创建 Access Token (Settings → Access Tokens → New Token, scope: Read code)
ONEDEV_ACCESS_TOKEN=Gtn1krR7tmv4x2c7xLupvW6OqgwWbmanpKonknpQ
+2 -2
View File
@@ -1,5 +1,5 @@
{
"version": "1.0.2",
"version": "1.0.3",
"release_date": "2025-01-15",
"changelog": "更新版本号,测试更新功能"
"changelog": "更新版本号,更新配置文件构建"
}
+1
View File
@@ -46,6 +46,7 @@ COPY --from=builder /app/.next/static ./.next/static
# 复制配置文件
COPY --from=builder /app/config.json ./
COPY --from=builder /app/.version ./
COPY --from=builder /app/.env ./
# 给 nextjs 用户授权整个目录
RUN chown -R nextjs:nodejs /app