mirror of
https://github.com/escalante29/WealthySmart.git
synced 2026-07-17 11:28:47 +02:00
Fresh-venv installs started failing with pip ResolutionTooDeep because requirements.txt is unpinned. Constrain CI and image builds to the frozen, test-passing local set; requirements.txt stays the source of intent. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
8 lines
354 B
Docker
8 lines
354 B
Docker
FROM python:3.11-slim
|
|
WORKDIR /app
|
|
RUN apt-get update && apt-get install -y --no-install-recommends poppler-utils && rm -rf /var/lib/apt/lists/*
|
|
COPY requirements.txt constraints.txt ./
|
|
RUN pip install --no-cache-dir -r requirements.txt -c constraints.txt
|
|
COPY . .
|
|
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--workers", "2"]
|