chore: update Dockerfile to set pnpm store directory and remove environment variables

This commit is contained in:
GW_MC
2026-02-23 22:11:03 +08:00
parent 6b1a0136b0
commit be93b5f3e9

View File

@@ -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