From 276ffe59cd0d8473df6f14e89f8eb842c936bf17 Mon Sep 17 00:00:00 2001 From: copilotcoder Date: Sat, 20 Jun 2026 12:09:14 -0400 Subject: [PATCH] fix(ci): stub readme for hatchling rather than COPY Replace COPY README.md with RUN echo stub to avoid .dockerignore exclusion. The *.md glob in .dockerignore blocked the COPY; a generated stub satisfies hatchling metadata validation without any .dockerignore changes. --- Dockerfile.backend | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile.backend b/Dockerfile.backend index 5a9fe54..3328f64 100644 --- a/Dockerfile.backend +++ b/Dockerfile.backend @@ -19,8 +19,10 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH" # Copy dependency files first for better caching COPY backend/pyproject.toml backend/uv.lock* ./ -# Hatchling metadata references ../README.md from backend/pyproject.toml. -COPY README.md /README.md +# Hatchling resolves the readme path ../README.md relative to the backend +# package root (/app). Create a stub so metadata validation succeeds without +# requiring the file to pass through .dockerignore. +RUN echo '# plex-playlist' > /README.md # Install dependencies RUN uv sync --frozen