OKR/build-image/node/Dockerfile_18.20.4

14 lines
367 B
Groff

FROM node:18.20.4
LABEL beaconfire <beaconfireinc.com>
ENV PNPM_HOME="/root/.pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN apt-get update && \
apt-get install -y --no-install-recommends ca-certificates curl && \
rm -rf /var/lib/apt/lists/ && \
git config --global --add safe.directory '*' && \
npm install -g pnpm cross-env && \
pnpm config set store-dir /root/.pnpm