Initial commit — Performance West telecom compliance platform
Includes: API (Express/TypeScript), Astro site, Python workers, document generators, FCC compliance tools, Canada CRTC formation, Ansible infrastructure, and deployment scripts. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
commit
f8cd37ac8c
1823 changed files with 145167 additions and 0 deletions
31
scripts/Dockerfile
Normal file
31
scripts/Dockerfile
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
FROM python:3.12-slim
|
||||
|
||||
# Install LibreOffice for DOCX→PDF, Playwright deps, and system packages
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
libreoffice-writer \
|
||||
fonts-liberation \
|
||||
fonts-dejavu \
|
||||
curl \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install Python dependencies
|
||||
COPY scripts/requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Install Playwright browsers
|
||||
RUN playwright install chromium && playwright install-deps chromium
|
||||
|
||||
# Copy all scripts
|
||||
COPY scripts/ /app/scripts/
|
||||
COPY docs/product-facts.md /app/docs/product-facts.md
|
||||
|
||||
# Create data directories
|
||||
RUN mkdir -p /app/data/screenshots /app/data/documents /app/data/logs
|
||||
|
||||
ENV PYTHONPATH=/app
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
EXPOSE 8090
|
||||
CMD ["python", "-m", "scripts.workers.job_server"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue