chore: update Dockerfile to set PNPM_HOME and PATH for environment configuration
This commit is contained in:
@@ -8,7 +8,8 @@ RUN apt-get update && apt-get install -y \
|
||||
|
||||
# Set up pnpm environment
|
||||
RUN pnpm config set store-dir /home/node/.local/share/pnpm/store
|
||||
RUN pnpm setup
|
||||
ENV PNPM_HOME=/home/node/.local/share/pnpm
|
||||
ENV PATH=$PNPM_HOME:$PATH
|
||||
|
||||
USER node
|
||||
|
||||
|
||||
Reference in New Issue
Block a user