fix(dockerfile): correct PNPM_HOME and PATH for pnpm installation
This commit is contained in:
+2
-2
@@ -109,9 +109,9 @@ SHELL ["/usr/local/bin/bash-with-nvm"]
|
||||
ENV BASH_ENV=/etc/bash.bashrc
|
||||
|
||||
# prepare pnpm
|
||||
ENV PNPM_HOME="/root/.local/share/pnpm/pnpm"
|
||||
ENV PNPM_HOME="/root/.local/share/pnpm"
|
||||
RUN mkdir -p ${PNPM_HOME}
|
||||
ENV PATH="$PNPM_HOME:$PATH"
|
||||
ENV PATH="$PNPM_HOME/bin:$PATH"
|
||||
|
||||
# Now nvm is available directly without sourcing
|
||||
RUN nvm install $NODE_VERSION_STABLE \
|
||||
|
||||
Reference in New Issue
Block a user