Upload 4 files
Browse filesFiles changed (4)
- Dockerfile+17-2
- app.zipAdded+3
- requirements.txtAdded+11
- version.txtAdded+1
12345FROM ghcr.io/wyeeeee/hajimi:latestEXPOSE 7860CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]1234567891011121314151617181920FROM python:3.11-slimWORKDIR /app# 安装 unzip 工具RUN apt-get update && apt-get install -y unzip && rm -rf /var/lib/apt/lists/*COPY app.zip .COPY requirements.txt .COPY version.txt .RUN mkdir -p app# 解压 app.zip 文件RUN unzip app.zip -d app && rm app.zipRUN pip install --no-cache-dir -r requirements.txt# 环境变量 (在 Hugging Face Spaces 中设置)# ENV GEMINI_API_KEYS=your_key_1,your_key_2,your_key_3CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
123version https://git-lfs.github.com/spec/v1oid sha256:973384c3d2c31a5bfcdc438eb0be4380a83f6cbda3d43ee26aa8f71f0bcdd1f4size 1119711234567891011fastapiuvicornhttpxpython-dotenvrequestsapschedulerjinja2google-auth==2.38.0google-cloud-aiplatform==1.86.0pydantic==2.6.1google-genai==1.11.01version=0.1.4Dockerfile+17-2
app.zipAdded+3
requirements.txtAdded+11
version.txtAdded+1