Spaces:
Runtime error
Runtime error
File size: 563 Bytes
ed99b76 95699c8 ed99b76 95699c8 dbdcb68 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | # Lightweight Python image
FROM python:3.10-slim
ENV PYTHONUNBUFFERED=1
ENV PYTHONDONTWRITEBYTECODE=1
# System dependencies
RUN apt-get update && apt-get install -y \
git \
curl \
libglib2.0-0 \
libgl1 \
libsm6 \
libxext6 \
libxrender1 \
ffmpeg \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7860
# FIXED ENTRY POINT - Run as a standard background script
CMD ["python", "app.py"] |