Spaces:
Sleeping
Sleeping
Download Dockerfile from Adisri99/ClusterBuster-API: direct link, hf CLI and curl.
- Browser
- Download file 530 Bytes
-
https://huggingface.co/spaces/Adisri99/ClusterBuster-API/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Adisri99/ClusterBuster-API/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Adisri99/ClusterBuster-API/resolve/main/Dockerfile
530 Bytes
| FROM python:3.11-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 | |
| ENV PYTHONUNBUFFERED=1 | |
| ENV PORT=7860 | |
| ENV PYTHONPATH=/app | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y --no-install-recommends build-essential curl && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY backend /app/backend | |
| COPY data_samples /app/data_samples | |
| RUN mkdir -p /data/uploads /data/artifacts | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "backend.app.main:app", "--host", "0.0.0.0", "--port", "7860"] | |