Spaces:
Sleeping
Sleeping
Download Dockerfile from PrashanthB461/AI_Safety_Demo7: direct link, hf CLI and curl.
- Browser
- Download file 407 Bytes
-
https://huggingface.co/spaces/PrashanthB461/AI_Safety_Demo7/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/PrashanthB461/AI_Safety_Demo7/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/PrashanthB461/AI_Safety_Demo7/resolve/main/Dockerfile
407 Bytes
| FROM python:3.10 | |
| WORKDIR /app | |
| # Install system dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| git \ | |
| ffmpeg \ | |
| libsm6 \ | |
| libxext6 | |
| # Copy requirements first for caching | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Install ByteTrack | |
| RUN pip install git+https://github.com/ifzhang/ByteTrack.git@main | |
| # Copy app files | |
| COPY . . | |
| CMD ["python", "app.py"] |