node 18.17.1

main
ycz008 2024-03-12 17:25:04 +08:00
parent 2980dfc7be
commit 172cab27cf
2 changed files with 9 additions and 4 deletions

View File

@ -9,4 +9,4 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/ && \
git config --global --add safe.directory '*' && \
npm install -g pnpm && \
pnpm config set store-dir /root/.pnpm
pnpm config set store-dir /root/.pnpm

View File

@ -1,8 +1,13 @@
FROM node:18.17.1
LABEL smallkoudai <smallkoudai@gmail.com>
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 rsync && \
apt-get install -y --no-install-recommends ca-certificates curl && \
rm -rf /var/lib/apt/lists/ && \
git config --global --add safe.directory '*'
git config --global --add safe.directory '*' && \
npm install -g pnpm && \
pnpm config set store-dir /root/.pnpm