OKR/build-image/node/Dockerfile_16.17.1

12 lines
316 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
2024-01-30 10:59:54 +08:00
ENV PNPM_HOME="~/.pnpm" PATH="$PATH:$PNPM_HOME"
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 && \