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