Spaces:
Running
Running
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # 1. Install standard build tools and cmake | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| cmake \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # 2. Install pinned dependencies | |
| COPY ./requirements.txt /app/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt | |
| # 3. Deploy app files | |
| COPY . . | |
| CMD ["python", "app.py"] |