mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-05-10 11:45:53 +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 .
|
RUN uv pip install --system --no-cache .
|
||||||
|
|
||||||
# Build the WhatsApp bridge
|
# Build the WhatsApp bridge
|
||||||
RUN git config --global url."https://github.com/".insteadOf "ssh://git@github.com/"
|
|
||||||
|
|
||||||
WORKDIR /app/bridge
|
WORKDIR /app/bridge
|
||||||
RUN git config --global url."https://github.com/".insteadOf ssh://git@github.com/ && \
|
RUN git config --global --add url."https://github.com/".insteadOf ssh://git@github.com/ && \
|
||||||
git config --global url."https://github.com/".insteadOf git@github.com: && \
|
git config --global --add url."https://github.com/".insteadOf git@github.com: && \
|
||||||
npm install && npm run build
|
npm install && npm run build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user