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