| FROM python:3.11-slim | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| gcc g++ git && \ | |
| rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| ENV PORT=7860 | |
| ENV SYSTEMLAKE_DATA_DIR=/app/audit_data | |
| EXPOSE 7860 | |
| CMD ["python", "hf_space_app.py"] | |