Commit f9944efd authored by 道非仙's avatar 道非仙
Browse files

fix: set npm registry before installing frontend dependencies

parent 8a061121
Pipeline #81994 passed with stage
......@@ -25,7 +25,8 @@ RUN corepack enable && corepack prepare pnpm@latest --activate
# Install dependencies first (better caching)
COPY frontend/package.json frontend/pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile
RUN pnpm config set registry https://registry.npmmirror.com/ && \
pnpm install --frozen-lockfile
# Copy frontend source and build
COPY frontend/ ./
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment