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