Spaces:
Sleeping
Sleeping
Piers Lyon
Claude Opus 4.6 (1M context)
Force rebuild — bust Docker cache for email_engine fix
8fd98c7 Download Dockerfile from mipwr-admin/curium-intel: direct link, hf CLI and curl.
- Browser
- Download file 1.6 kB
-
https://huggingface.co/spaces/mipwr-admin/curium-intel/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/mipwr-admin/curium-intel/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/mipwr-admin/curium-intel/resolve/main/Dockerfile
1.6 kB
| # ============================================================================= | |
| # Curium Lead Intelligence Platform - Hugging Face Spaces Docker image | |
| # ============================================================================= | |
| FROM python:3.11-slim | |
| ENV PYTHONUNBUFFERED=1 \ | |
| PYTHONDONTWRITEBYTECODE=1 \ | |
| PIP_NO_CACHE_DIR=1 \ | |
| PIP_DISABLE_PIP_VERSION_CHECK=1 \ | |
| DEBIAN_FRONTEND=noninteractive | |
| # System packages for Playwright Chromium + general tooling | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| wget gnupg ca-certificates curl \ | |
| fonts-liberation libasound2 libatk1.0-0 libatk-bridge2.0-0 \ | |
| libcups2 libdbus-1-3 libdrm2 libgbm1 libgtk-3-0 libnspr4 libnss3 \ | |
| libwayland-client0 libxcomposite1 libxdamage1 libxfixes3 libxkbcommon0 \ | |
| libxrandr2 xdg-utils \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # HF Spaces expects a non-root user with home at /home/user | |
| RUN useradd -m -u 1000 user | |
| WORKDIR /app | |
| # Python dependencies (cached layer) | |
| COPY requirements.txt ./ | |
| RUN pip install -r requirements.txt | |
| # Install Playwright Chromium | |
| RUN python -m playwright install --with-deps chromium | |
| # App source — cache-bust: v2 | |
| COPY . . | |
| # Ensure writable dirs for the non-root user | |
| RUN mkdir -p /app/data /app/logs && \ | |
| chown -R user:user /app | |
| USER user | |
| # HF Spaces convention: port 7860 | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["streamlit", "run", "app.py", \ | |
| "--server.headless=true", \ | |
| "--server.port=7860", \ | |
| "--server.address=0.0.0.0", \ | |
| "--browser.gatherUsageStats=false", \ | |
| "--server.fileWatcherType=none"] | |