Spaces:
Runtime error
Runtime error
Download Dockerfile from chipling/g-clip-inference: direct link, hf CLI and curl.
- Browser
- Download file 321 Bytes
-
https://huggingface.co/spaces/chipling/g-clip-inference/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/chipling/g-clip-inference/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/chipling/g-clip-inference/resolve/main/Dockerfile
321 Bytes
| FROM python:3.9 | |
| WORKDIR /code | |
| # Install dependencies | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| # Copy your code | |
| COPY . . | |
| # Start FastAPI on port 7860 (Hugging Face's default port) | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |