Spaces:
Sleeping
Sleeping
Download Dockerfile from vinith17/CodeBug: direct link, hf CLI and curl.
- Browser
- Download file 296 Bytes
-
https://huggingface.co/spaces/vinith17/CodeBug/resolve/4e39f5af0e1397009ef93b464da8a23d8db3c792/Dockerfile
- Command line
-
hf download hf://spaces/vinith17/CodeBug@4e39f5af0e1397009ef93b464da8a23d8db3c792/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/vinith17/CodeBug/resolve/4e39f5af0e1397009ef93b464da8a23d8db3c792/Dockerfile
296 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| RUN pip install openenv-core>=0.2.2 fastapi uvicorn pydantic | |
| COPY . . | |
| # 7860 is standard port for HuggingFace Spaces | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] | |