From c5d943700a50a64325b1d232115d7dc08c8d7a68 Mon Sep 17 00:00:00 2001 From: Janik von Rotz Date: Thu, 11 Jun 2026 08:54:05 +0200 Subject: [PATCH] feat(image): add uv Python package manager and update entrypoint to support CMD - Install uv from astral-sh/uv for Python package management - Update entrypoint.sh to handle CMD argument and delegate to exec - Set default CMD to "caddy" in Dockerfile - Update task script to pull latest build image and set CI=true for pnpm install --- image/Dockerfile | 4 ++++ image/entrypoint.sh | 11 +++++++++-- task | 3 ++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/image/Dockerfile b/image/Dockerfile index 2924e70..b2b1067 100644 --- a/image/Dockerfile +++ b/image/Dockerfile @@ -9,12 +9,16 @@ RUN corepack enable && \ WORKDIR /app +# Install uv for Python package management +COPY --from=ghcr.io/astral-sh/uv:0.7.21 /uv /uvx /bin/ + COPY ./bin /usr/local/bin COPY ./image/entrypoint.sh / EXPOSE 80 ENTRYPOINT ["/entrypoint.sh"] +CMD ["caddy"] HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \ CMD curl -f http://localhost:80/ || exit 1 diff --git a/image/entrypoint.sh b/image/entrypoint.sh index c4ee21d..0beb633 100755 --- a/image/entrypoint.sh +++ b/image/entrypoint.sh @@ -66,5 +66,12 @@ cat > /etc/caddy/Caddyfile <