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