Spaces:
Sleeping
Sleeping
Download Dockerfile from jayvatliq/car-view-classifier: direct link, hf CLI and curl.
- Browser
- Download file 496 Bytes
-
https://huggingface.co/spaces/jayvatliq/car-view-classifier/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/jayvatliq/car-view-classifier/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/jayvatliq/car-view-classifier/resolve/main/Dockerfile
496 Bytes
| FROM python:3.13-slim | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| libgl1 \ | |
| libglib2.0-0 \ | |
| libgomp1 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir --upgrade pip && \ | |
| pip install --no-cache-dir -r requirements.txt && \ | |
| pip install --no-cache-dir python-multipart | |
| COPY . . | |
| RUN mkdir -p /app/output_files | |
| EXPOSE 8000 | |
| CMD ["uvicorn", "OutputParser:app", "--host", "0.0.0.0", "--port", "8000"] | |