修复了docker中上传失败的问题,改用环境变量定义openai接口和密钥

This commit is contained in:
2025-11-15 17:15:46 +08:00
parent 046b649aec
commit 1e041cad3b
4 changed files with 7 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt /app/
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --no-cache-dir -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
COPY . /app