gmn2a / Dockerfile
hfga's picture
Create Dockerfile
62282b2 verified
raw
history blame contribute delete
370 Bytes
FROM python:3.11-slim
RUN apt-get update && apt-get install -y git
RUN git clone https://github.com/wyeeeee/hajimi.git /app
WORKDIR /app
RUN pip install --no-cache-dir -r requirements.txt
# 环境变量 (在 Hugging Face Spaces 中设置)
# ENV GEMINI_API_KEYS=your_key_1,your_key_2,your_key_3
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]