We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c89b9d commit c012aafCopy full SHA for c012aaf
runtime/node.go
@@ -172,6 +172,8 @@ FROM base AS deps
172
WORKDIR /app
173
COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* bun.lockb* ./
174
ARG INSTALL_CMD={{.InstallCMD}}
175
+ARG NPM_MIRROR=
176
+RUN if [ ! -z "${NPM_MIRROR}" ]; then npm config set registry ${NPM_MIRROR}; fi
177
RUN if [ ! -z "${INSTALL_CMD}" ]; then echo "${INSTALL_CMD}" > dep.sh; sh dep.sh; fi
178
179
FROM base AS builder
0 commit comments