fix(docker): rewrite github ssh git deps to https for npm build

This commit is contained in:
Wenzhang-Chen 2026-03-08 12:44:56 +08:00 committed by Xubin Ren
parent 1c1eee523d
commit c9d6491814

View File

@ -29,7 +29,9 @@ RUN uv pip install --system --no-cache .
RUN git config --global url."https://github.com/".insteadOf "ssh://git@github.com/"
WORKDIR /app/bridge
RUN npm install && npm run build
RUN git config --global url."https://github.com/".insteadOf ssh://git@github.com/ && \
git config --global url."https://github.com/".insteadOf git@github.com: && \
npm install && npm run build
WORKDIR /app
# Create config directory