OKR/build-image/node/Dockerfile_16.17.1

13 lines
356 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-02-01 18:04:20 +08:00
ENV PNPM_HOME="/root/.pnpm"
ENV PATH="$PNPM_HOME:$PATH"
2023-09-08 14:30:22 +08:00
RUN apt-get update && \
2024-02-01 18:04:20 +08:00
apt-get install -y --no-install-recommends ca-certificates curl && \
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 '*' && \
2024-02-01 18:04:20 +08:00
npm install -g pnpm && \
2024-03-12 17:25:04 +08:00
pnpm config set store-dir /root/.pnpm