From b2606c4314921d8cce73c6d6cc40830cdffb03b6 Mon Sep 17 00:00:00 2001 From: ycz008 Date: Tue, 30 Jan 2024 10:59:54 +0800 Subject: [PATCH] add package moment --- build-image/node/Dockerfile_16.17.1 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build-image/node/Dockerfile_16.17.1 b/build-image/node/Dockerfile_16.17.1 index 752a1e1..b6812ee 100644 --- a/build-image/node/Dockerfile_16.17.1 +++ b/build-image/node/Dockerfile_16.17.1 @@ -2,11 +2,10 @@ FROM node:16.17.1 LABEL beaconfire +ENV PNPM_HOME="~/.pnpm" PATH="$PATH:$PNPM_HOME" + RUN apt-get update && \ apt-get install -y --no-install-recommends ca-certificates curl rsync && \ rm -rf /var/lib/apt/lists/ && \ git config --global --add safe.directory '*' && \ npm install -g pnpm && \ - pnpm config set store-dir ~/.pnpm && \ - pnpm config set modules-dir ~/.pnpm && \ - pnpm config set state-dir ~/.pnpm/state