Spaces:
Running
Running
File size: 360 Bytes
ce45d75 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | FROM python:3.12-slim
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
curl libgl1 libglib2.0-0 ffmpeg \
&& rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir \
"gradio>=6,<7" pillow huggingface_hub
COPY app.py /app/app.py
COPY README.md /app/README.md
EXPOSE 7860
CMD ["python", "/app/app.py"]
|