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