File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,10 @@ RUN corepack enable
1515
1616# Setup PNPM
1717ENV PNPM_HOME="/pnpm"
18- ENV PATH="$PNPM_HOME:$PATH"
18+ ENV PATH="$PNPM_HOME:$PNPM_HOME/bin:$PATH"
19+ ENV CI=true
20+ ENV PNPM_CONFIG_MINIMUM_RELEASE_AGE=0
21+ ENV PNPM_CONFIG_STRICT_DEP_BUILDS=false
1922
2023# Install dependencies based on the preferred package manager
2124RUN \
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ RUN corepack enable
99
1010# Setup PNPM
1111ENV PNPM_HOME="/pnpm"
12- ENV PATH="$PNPM_HOME:$PATH"
12+ ENV PATH="$PNPM_HOME:$PNPM_HOME/bin:$ PATH"
1313RUN mkdir -p /home/codespace/.pnpm-store /pnpm \
1414 && chown -R 1000:1000 /home/codespace/.pnpm-store /pnpm
1515
@@ -22,8 +22,12 @@ ENV NODE_ENV=development
2222USER 1000:1000
2323
2424# Apply PNPM settings to be consistent with devcontainer
25- RUN pnpm config set node-linker hoisted --global \
26- && pnpm config set store-dir /home/codespace/.pnpm-store --global
25+ ENV CI=true
26+ ENV PNPM_CONFIG_NODE_LINKER=hoisted
27+ ENV PNPM_CONFIG_MINIMUM_RELEASE_AGE=0
28+ ENV PNPM_CONFIG_STRICT_DEP_BUILDS=false
29+ ENV PNPM_CONFIG_CONFIRM_MODULES_PURGE=false
30+ RUN pnpm config set store-dir /home/codespace/.pnpm-store --global
2731
2832EXPOSE 3000
2933ENV PORT=3000
You can’t perform that action at this time.
0 commit comments