fix: pnpm home fixed to /bin
parent
ed3dd33149
commit
3876a4d065
|
|
@ -78,8 +78,12 @@ RUN corepack enable \
|
|||
# installs land in a known location and their binaries resolve without
|
||||
# extra setup. (pnpm setup is interactive — this is the non-interactive
|
||||
# equivalent.)
|
||||
#
|
||||
# pnpm 11 moved the global bin from $PNPM_HOME to $PNPM_HOME/bin and
|
||||
# now hard-errors ("The configured global bin directory ... is not in
|
||||
# PATH") instead of warning if PATH doesn't include it.
|
||||
ENV PNPM_HOME=/root/.local/share/pnpm
|
||||
ENV PATH="${PNPM_HOME}:${PATH}"
|
||||
ENV PATH="${PNPM_HOME}/bin:${PATH}"
|
||||
|
||||
# ─────────────────────────────────────────────────────────────────────
|
||||
# protoc-gen-es - TypeScript codegen plugin for buf 'local:' references.
|
||||
|
|
|
|||
Loading…
Reference in New Issue