Spaces:
Sleeping
Sleeping
Download Dockerfile from longxing/GrokPythonTo2: direct link, hf CLI and curl.
- Browser
- Download file 181 Bytes
-
https://huggingface.co/spaces/longxing/GrokPythonTo2/resolve/dcc11baf86a0355d9084afbdd6bb12bb2b97b8fd/Dockerfile
- Command line
-
hf download hf://spaces/longxing/GrokPythonTo2@dcc11baf86a0355d9084afbdd6bb12bb2b97b8fd/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/longxing/GrokPythonTo2/resolve/dcc11baf86a0355d9084afbdd6bb12bb2b97b8fd/Dockerfile
181 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| ENV PORT=5200 | |
| EXPOSE 5200 | |
| CMD ["python", "grok2api.py"] |