Spaces:
Paused
Paused
Download Dockerfile from Looknicemm/g-api: direct link, hf CLI and curl.
- Browser
- Download file 300 Bytes
-
https://huggingface.co/spaces/Looknicemm/g-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Looknicemm/g-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Looknicemm/g-api/resolve/main/Dockerfile
300 Bytes
| FROM python:3.12-slim | |
| WORKDIR /app | |
| COPY requirements.txt ./ | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY gemini_web2api/ ./gemini_web2api/ | |
| COPY config.example.json ./config.example.json | |
| COPY entrypoint.sh ./entrypoint.sh | |
| RUN chmod +x ./entrypoint.sh | |
| EXPOSE 7860 | |
| CMD ["./entrypoint.sh"] | |