DENTO / Dockerfile
Elshawaf1's picture
Upload Dockerfile
030ab55 verified
Raw
History Blame Contribute Delete
357 Bytes
FROM python:3.11-slim
# System deps
RUN apt-get update && apt-get install -y \
git ffmpeg libsm6 libxext6 libgl1 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Install Python deps
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy app
COPY . .
# HF Spaces expects port 7860
EXPOSE 7860
CMD ["python", "app.py"]