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
This commit is contained in:
Janik von Rotz committed 2026-06-11 08:54:05 +02:00
1 parent 06658751f8
commit c5d943700a
3 files changed
+15 -3

No files matched your search

+4
View File
@@ -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