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:
3 files changed
+15
-3
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user