fix(docker): include README.md in early COPY #32

Merged
goldstein merged 1 commit from fix/docker-readme into main 2026-04-18 10:42:42 +00:00
Showing only changes of commit f54f0d317d - Show all commits

View file

@ -46,9 +46,11 @@ RUN curl -LsSf https://astral.sh/uv/install.sh | sh \
WORKDIR /app
# Copy just the dependency manifests first so the heavy `uv sync` layer
# caches whenever only application code changes.
COPY pyproject.toml uv.lock .python-version ./
# Copy dependency manifests + README early so the heavy `uv sync` layer
# caches whenever only application code changes. README.md is required
# because pyproject.toml names it as the package's readme — hatchling
# validates it exists when resolving the editable install.
COPY pyproject.toml uv.lock .python-version README.md ./
# Prod + OCR extras, no dev tooling. --frozen means "must match uv.lock";
# CI catches drift before it reaches the image.