Download Dockerfile from playingapi/GrokPythonService: direct link, hf CLI and curl.
- Browser
- Download file 172 Bytes
-
https://huggingface.co/spaces/playingapi/GrokPythonService/resolve/b41ec9653277b7dd3244120cd92cb4cb346687c4/Dockerfile
- Command line
-
hf download hf://spaces/playingapi/GrokPythonService@b41ec9653277b7dd3244120cd92cb4cb346687c4/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/playingapi/GrokPythonService/resolve/b41ec9653277b7dd3244120cd92cb4cb346687c4/Dockerfile
172 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| RUN pip install --no-cache-dir flask requests curl_cffi werkzeug loguru | |
| COPY . . | |
| ENV PORT=5200 | |
| EXPOSE 5200 | |
| CMD ["python", "app.py"] |