You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(docker): use .npmrc for build-from-source instead of env var
pnpm does not pass npm_config_* environment variables to install
script subprocess environments. The correct way to set npm config
for pnpm-spawned install scripts is via .npmrc file, which pnpm
reads and merges into the config for all script executions.
Change: 'RUN npm_config_build_from_source=true pnpm install'
to: 'RUN echo build-from-source=true >> .npmrc && pnpm install'
0 commit comments