fix: install git in Docker builder for git-based dependencies
All checks were successful
Build and Push Monarch MCP Docker Image / build (push) Successful in 26s

This commit is contained in:
Ben
2025-12-25 04:35:58 +00:00
parent 4382b02450
commit 545d48bd25

View File

@@ -3,8 +3,10 @@ FROM python:3.12-slim AS builder
WORKDIR /app WORKDIR /app
# Install uv for fast dependency management # Install git (required for git-based dependencies) and uv
RUN pip install uv RUN apt-get update && apt-get install -y --no-install-recommends git \
&& rm -rf /var/lib/apt/lists/* \
&& pip install uv
# Copy pyproject.toml first to leverage Docker cache # Copy pyproject.toml first to leverage Docker cache
COPY pyproject.toml . COPY pyproject.toml .