Spaces:
Runtime error
Runtime error
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Install system dependencies required by OpenCV | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| build-essential \ | |
| cmake \ | |
| libopenblas-dev \ | |
| libomp-dev \ | |
| libgl1 \ | |
| libglib2.0-0 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| RUN python -c "from huggingface_hub import snapshot_download; snapshot_download(repo_id='Eklavya16/DermAssist')" | |
| COPY src/ ./src/ | |
| EXPOSE 7860 | |
| CMD ["streamlit", "run", "src/app.py", "--server.port=7860", "--server.address=0.0.0.0"] |