- 更新 `.dockerignore` 文件,完善忽略规则和文件分类 - 在 `.env.example` 中新增 SiliconFlow API 配置 - 重构 Dockerfile,优化构建和部署步骤 - 更新 `package.json` 版本号至 1.0.0 - 重写 README.md,简化安装和部署说明 - 新增 Docker 部署和 API 密钥配置指南
19 lines
511 B
Bash
19 lines
511 B
Bash
# API密钥配置示例
|
|
# 复制此文件到 .env.local 并填入你的API密钥
|
|
|
|
# OpenAI API配置
|
|
VITE_OPENAI_API_KEY=your_openai_api_key
|
|
|
|
# Gemini API配置
|
|
VITE_GEMINI_API_KEY=your_gemini_api_key
|
|
|
|
# DeepSeek API配置
|
|
VITE_DEEPSEEK_API_KEY=your_deepseek_api_key
|
|
|
|
# SiliconFlow API配置
|
|
VITE_SILICONFLOW_API_KEY=your_siliconflow_api_key
|
|
|
|
# 自定义API配置(可选)
|
|
VITE_CUSTOM_API_KEY=your_custom_api_key
|
|
VITE_CUSTOM_API_BASE_URL=your_custom_api_base_url
|
|
VITE_CUSTOM_API_MODEL=your_custom_model_name |