Compare commits
2 commits
e6fcd5fc54
...
4802e086a0
| Author | SHA1 | Date | |
|---|---|---|---|
| 4802e086a0 | |||
| f54f0d317d |
1 changed files with 5 additions and 3 deletions
|
|
@ -46,9 +46,11 @@ RUN curl -LsSf https://astral.sh/uv/install.sh | sh \
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Copy just the dependency manifests first so the heavy `uv sync` layer
|
# Copy dependency manifests + README early so the heavy `uv sync` layer
|
||||||
# caches whenever only application code changes.
|
# caches whenever only application code changes. README.md is required
|
||||||
COPY pyproject.toml uv.lock .python-version ./
|
# 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";
|
# Prod + OCR extras, no dev tooling. --frozen means "must match uv.lock";
|
||||||
# CI catches drift before it reaches the image.
|
# CI catches drift before it reaches the image.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue