- mek_recon.py: Playwright download for both sites in parallel (headless on server) - consolidate.py: Patient Name + DOS match, per-location and All Locations Excel - app.py: sign-in (server-side password), Run button, per-file and ZIP downloads - Dockerfile for Dokploy Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
14 lines
520 B
Docker
14 lines
520 B
Docker
# Playwright image ships Chromium + its OS deps for this exact Playwright version
|
|
FROM mcr.microsoft.com/playwright/python:v1.49.0-noble
|
|
|
|
WORKDIR /app
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
COPY . .
|
|
|
|
# headless, bundled Chromium (no Google Chrome in the image)
|
|
ENV HEADLESS=1 CHROME_CHANNEL= PYTHONUNBUFFERED=1 TZ=America/New_York
|
|
EXPOSE 8000
|
|
# one worker: run state is kept in memory
|
|
CMD ["gunicorn", "-w", "1", "--threads", "8", "-b", "0.0.0.0:8000", "--timeout", "120", "app:app"]
|