Spaces:
Sleeping
Sleeping
| FROM python:3.10-slim | |
| # System deps for bitsandbytes | |
| RUN apt-get update \ | |
| && apt-get install -y git-lfs libgomp1 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| # Install Python deps | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir --upgrade pip \ | |
| && pip install --no-cache-dir -r requirements.txt | |
| # Copy the app | |
| COPY . . | |
| # Streamlit will read $PORT from the environment | |
| ENV PORT=7860 | |
| CMD ["bash", "-c", "streamlit run app.py --server.port $PORT --server.enableCORS false --server.headless true"] |