Spaces:
Runtime error
Runtime error
Download Dockerfile from mussie1212/new_deployment: direct link, hf CLI and curl.
- Browser
- Download file 448 Bytes
-
https://huggingface.co/spaces/mussie1212/new_deployment/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/mussie1212/new_deployment/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/mussie1212/new_deployment/resolve/main/Dockerfile
448 Bytes
| FROM python:3.9-slim-bullseye | |
| WORKDIR /app | |
| RUN apt-get update && \ | |
| apt-get install -y --no-install-recommends \ | |
| libgl1 \ | |
| libglib2.0-0 \ | |
| libsm6 \ | |
| libxrender1 \ | |
| libxext6 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install --upgrade pip && \ | |
| pip install --no-cache-dir --timeout=1000 -r requirements.txt | |
| COPY . . | |
| EXPOSE 8000 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"] |