Download Dockerfile from yuoop/gemini3: direct link, hf CLI and curl.
- Browser
- Download file 263 Bytes
-
https://huggingface.co/spaces/yuoop/gemini3/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/yuoop/gemini3/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/yuoop/gemini3/resolve/main/Dockerfile
263 Bytes
| FROM python:3.9-slim | |
| WORKDIR /code | |
| # 安装依赖 | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # 复制应用代码 | |
| COPY . . | |
| # 设置环境变量 | |
| ENV PORT=7860 | |
| # 暴露端口 | |
| EXPOSE 7860 | |
| # 启动命令 | |
| CMD ["python", "app.py"] | |