Spaces:
Runtime error
Runtime error
Download Dockerfile from iamvishalksingh/codeformer-api: direct link, hf CLI and curl.
- Browser
- Download file 183 Bytes
-
https://huggingface.co/spaces/iamvishalksingh/codeformer-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/iamvishalksingh/codeformer-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/iamvishalksingh/codeformer-api/resolve/main/Dockerfile
183 Bytes
| FROM python:3.9 | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |