add package moment

main
ycz008 2024-01-30 10:59:54 +08:00
parent f49b818a0f
commit b2606c4314
1 changed files with 2 additions and 3 deletions

View File

@ -2,11 +2,10 @@ FROM node:16.17.1
LABEL beaconfire <beaconfireinc.com>
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