mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-04-05 19:02:38 +00:00
fix(docker): preserve both github ssh rewrite rules for npm install
This commit is contained in:
parent
c9d6491814
commit
f4983329c6
@ -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://git@github.com/"
|
||||
|
||||
WORKDIR /app/bridge
|
||||
RUN git config --global url."https://github.com/".insteadOf ssh://git@github.com/ && \
|
||||
git config --global url."https://github.com/".insteadOf git@github.com: && \
|
||||
RUN git config --global --add url."https://github.com/".insteadOf ssh://git@github.com/ && \
|
||||
git config --global --add url."https://github.com/".insteadOf git@github.com: && \
|
||||
npm install && npm run build
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user