AI_Safety_Demo7 / Dockerfile
PrashanthB461's picture
Create Dockerfile
6060e8a verified
raw
history blame contribute delete
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"]