Spaces:
Runtime error
Runtime error
| # Dockerfile for WaterWiseHomecopy (Gradio app) | |
| FROM python:3.10-slim | |
| # System packages (note: libgl1 — NOT libgl1-mesa-glx) | |
| RUN apt-get update && apt-get install -y \ | |
| git git-lfs ffmpeg libsm6 libxext6 cmake rsync libgl1 \ | |
| && rm -rf /var/lib/apt/lists/* \ | |
| && git lfs install | |
| WORKDIR /app | |
| # Python deps | |
| COPY requirements.txt /app/ | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # App code | |
| COPY . /app | |
| # Gradio runtime | |
| ENV GRADIO_SERVER_NAME=0.0.0.0 | |
| ENV GRADIO_SERVER_PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] |