From 738ed32711378b4a00a9446e93d8954b57cb0158 Mon Sep 17 00:00:00 2001 From: ytachiki Date: Wed, 13 Aug 2025 17:46:05 +0900 Subject: [PATCH 1/2] Fix build error by copying src before install --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index abd4e2f..4a2f209 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,9 +12,9 @@ WORKDIR /build ENV PATH="/root/.local/bin:$PATH" COPY pyproject.toml ./ +COPY src/ src/ RUN uv pip install . --system --target /build/python -COPY src/ src/ COPY README.md ./ FROM python:3.13-slim From 7ca9efaeb8506ab5b4a1fb6d76daab2fd1c6005d Mon Sep 17 00:00:00 2001 From: Shinsuke Sugaya Date: Thu, 14 Aug 2025 09:55:16 +0900 Subject: [PATCH 2/2] Update Dockerfile --- Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4a2f209..f515736 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,6 @@ RUN addgroup --system fessctl && adduser --system --group fessctl WORKDIR /app COPY --from=builder /build/python /app/ -COPY --from=builder /build/src/fessctl /app/fessctl RUN chown -R fessctl:fessctl /app