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/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Set up pnpm environment
|
# Set up pnpm environment
|
||||||
ENV PNPM_HOME=/home/node/.local/share/pnpm
|
RUN pnpm config set store-dir /home/node/.local/share/pnpm/store
|
||||||
ENV PATH=$PNPM_HOME:$PATH
|
|
||||||
|
|
||||||
USER node
|
USER node
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user