Spaces:
Sleeping
Sleeping
Download Dockerfile from yashash045/devops-pipeline-env: direct link, hf CLI and curl.
- Browser
- Download file 442 Bytes
-
https://huggingface.co/spaces/yashash045/devops-pipeline-env/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/yashash045/devops-pipeline-env/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/yashash045/devops-pipeline-env/resolve/main/Dockerfile
442 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Enable the Gradio web interface for testing | |
| ENV ENABLE_WEB_INTERFACE=true | |
| # Install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy entire project | |
| COPY . . | |
| # Install the package itself so absolute imports work | |
| RUN pip install --no-cache-dir -e . | |
| EXPOSE 8000 | |
| CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "8000"] | |