petter2025's picture
Update Dockerfile
45b3b0b verified
raw
history blame contribute delete
465 Bytes
FROM python:3.10-slim
# Install system dependencies (git needed for OSS repo, ffmpeg optional but kept for compatibility)
RUN apt-get update && apt-get install -y git ffmpeg && rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Copy requirements and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir -r requirements.txt
# Copy the demo app
COPY app.py .
# Run the app
CMD ["python", "app.py"]