OKR/build-image/node/Dockerfile_16.17.1

13 lines
390 B
Groff
Raw Normal View History

2023-09-08 14:30:22 +08:00
FROM node:16.17.1
2024-01-29 15:34:21 +08:00
LABEL beaconfire <beaconfireinc.com>
2023-09-08 14:30:22 +08:00
RUN apt-get update && \
2023-09-08 14:33:21 +08:00
apt-get install -y --no-install-recommends ca-certificates curl rsync && \
2023-09-08 14:30:22 +08:00
rm -rf /var/lib/apt/lists/ && \
2024-01-29 15:34:21 +08:00
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