Skip to content

Your lightweight open-source personal agent.

fix(docker): preserve both github ssh rewrite rules for npm install

Xubin Renf4983329c6d8
diff --git a/Dockerfile b/Dockerfile
index ea48f8505..90f0e36a5 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -26,11 +26,9 @@ COPY bridge/ bridge/
RUN uv pip install --system --no-cache .
# Build the WhatsApp bridge
-RUN git config --global url."https://github.com/".insteadOf "ssh://[email protected]/"
-
WORKDIR /app/bridge
-RUN git config --global url."https://github.com/".insteadOf ssh://[email protected]/ && \
- git config --global url."https://github.com/".insteadOf [email protected]: && \
+RUN git config --global --add url."https://github.com/".insteadOf ssh://[email protected]/ && \
+ git config --global --add url."https://github.com/".insteadOf [email protected]: && \
npm install && npm run build
WORKDIR /app