feat: 添加确认模态框并优化音频生成流程

- 新增确认生成模态框组件,支持多语言显示
- 调整音频时长选项为"5分钟左右"和"8-15分钟"
- 优化Docker配置,添加.env和config目录挂载
- 改进音频生成流程,增加静音修剪功能
- 更新多语言翻译文件,添加确认相关文本
- 修复播客内容组件中overview_content处理逻辑
- 优化中间件配置,排除robots.txt和sitemap.xml
- 完善Docker使用文档,补充挂载点说明
- 改进播客脚本提示词,增强对话深度要求
This commit is contained in:
hex2077
2025-08-26 21:38:00 +08:00
parent d7c4520a65
commit 7b641fdeff
15 changed files with 478 additions and 86 deletions

View File

@@ -14,9 +14,6 @@ RUN npm install --frozen-lockfile \
# Copy the rest of the application code (web directory content)
COPY web .
# Copy parent config directory
COPY config ../config
# Build the Next.js application
# The `standalone` output mode creates a self-contained application
ENV NEXT_TELEMETRY_DISABLED 1
@@ -34,16 +31,12 @@ RUN npm install @libsql/linux-x64-musl
# Set production environment
ENV NODE_ENV production
COPY web/.env ./web/.env
COPY web/sqlite.db ./web/sqlite.db
# Copy standalone application and public assets from the builder stage
COPY --from=builder /app/web/.next/standalone ./web/
COPY --from=builder /app/web/.next/static ./web/.next/static
COPY --from=builder /app/web/public ./web/public
# Copy parent config directory from builder stage to runner stage
COPY --from=builder /app/config ./config
# Expose port (Next.js default port)
EXPOSE 3000