CoolFace
Apppublic

sbaer/test1

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
Dockerfile13 linesDownload Raw Back to root
1FROM python:3.11-slim
2
3WORKDIR /app
4
5COPY ./app /app/app
6COPY requirements.txt .
7
8RUN pip install --no-cache-dir -r requirements.txt
9
10# 环境变量 (在 Hugging Face Spaces 中设置)
11# ENV GEMINI_API_KEYS=your_key_1,your_key_2,your_key_3
12
13CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]