Spaces:
Sleeping
Sleeping
Download Dockerfile from hackrock18/cloud-data-janitor: direct link, hf CLI and curl.
- Browser
- Download file 333 Bytes
-
https://huggingface.co/spaces/hackrock18/cloud-data-janitor/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/hackrock18/cloud-data-janitor/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/hackrock18/cloud-data-janitor/resolve/main/Dockerfile
333 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| ENV PYTHONUNBUFFERED=1 | |
| COPY requirements.txt . | |
| # ADD THIS LINE: Upgrade pip first! | |
| RUN pip install --no-cache-dir --upgrade pip | |
| # Then install the requirements | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "7860"] |