- Azure AD authentication via MSAL PublicClientApplication with PKCE flow - Session middleware, auth middleware, login/callback/logout routes - Dockerfile, docker-compose.yml for port 8569, output volume - Idempotent deploy.sh with static file copy and health wait - User nav bar in base template with Sign Out link Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
11 lines
417 B
Docker
11 lines
417 B
Docker
FROM python:3.11-slim
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
libcairo2 libpango-1.0-0 libpangocairo-1.0-0 curl \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
WORKDIR /app
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
COPY . .
|
|
RUN mkdir -p /app/output
|
|
EXPOSE 8569
|
|
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8569", "--root-path", "/Pimco-charts"]
|