From 8fd2c528a529058a1b359183391cc8043ffb64e3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 6 Nov 2025 06:49:00 +0000 Subject: [PATCH 1/2] Initial plan From 219e8264cdaa0aab3b91dc6840d403433cb0150b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 6 Nov 2025 06:53:59 +0000 Subject: [PATCH 2/2] fix: Fix Docker build by copying source files before package installation Co-authored-by: royisme <350731+royisme@users.noreply.github.com> --- docker/Dockerfile.full | 12 ++++++++++-- docker/Dockerfile.minimal | 13 ++++++++++--- docker/Dockerfile.standard | 12 ++++++++++-- 3 files changed, 30 insertions(+), 7 deletions(-) diff --git a/docker/Dockerfile.full b/docker/Dockerfile.full index c9ab2d6..04d8962 100644 --- a/docker/Dockerfile.full +++ b/docker/Dockerfile.full @@ -15,9 +15,17 @@ RUN pip install uv WORKDIR /app +# Copy source files needed for package installation COPY pyproject.toml ./ -# Create dummy README for pip install (pyproject.toml references it) -RUN touch README.md && uv pip install --system -e . +COPY api ./api +COPY core ./core +COPY services ./services +COPY monitoring ./monitoring +COPY mcp_tools ./mcp_tools +COPY start.py start_mcp.py mcp_server.py config.py main.py ./ + +# Install the package and its dependencies +RUN uv pip install --system . # ============================================ # Final stage diff --git a/docker/Dockerfile.minimal b/docker/Dockerfile.minimal index ecae358..bc39713 100644 --- a/docker/Dockerfile.minimal +++ b/docker/Dockerfile.minimal @@ -16,10 +16,17 @@ RUN pip install uv WORKDIR /app -# Copy and install dependencies +# Copy source files needed for package installation COPY pyproject.toml ./ -# Create dummy README for pip install (pyproject.toml references it) -RUN touch README.md && uv pip install --system -e . +COPY api ./api +COPY core ./core +COPY services ./services +COPY monitoring ./monitoring +COPY mcp_tools ./mcp_tools +COPY start.py start_mcp.py mcp_server.py config.py main.py ./ + +# Install the package and its dependencies +RUN uv pip install --system . # ============================================ # Final stage diff --git a/docker/Dockerfile.standard b/docker/Dockerfile.standard index dcbb3db..d7e6ba7 100644 --- a/docker/Dockerfile.standard +++ b/docker/Dockerfile.standard @@ -15,9 +15,17 @@ RUN pip install uv WORKDIR /app +# Copy source files needed for package installation COPY pyproject.toml ./ -# Create dummy README for pip install (pyproject.toml references it) -RUN touch README.md && uv pip install --system -e . +COPY api ./api +COPY core ./core +COPY services ./services +COPY monitoring ./monitoring +COPY mcp_tools ./mcp_tools +COPY start.py start_mcp.py mcp_server.py config.py main.py ./ + +# Install the package and its dependencies +RUN uv pip install --system . # ============================================ # Final stage