add node-build dockerfile ENV
parent
8878b0d4fd
commit
bb51c0d74d
|
@ -2,10 +2,11 @@ FROM node:16.17.1
|
|||
|
||||
LABEL beaconfire <beaconfireinc.com>
|
||||
|
||||
ENV PNPM_HOME="~/.pnpm" PATH="$PATH:$PNPM_HOME"
|
||||
|
||||
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 '*' && \
|
||||
npm install -g pnpm
|
||||
npm install -g pnpm && \
|
||||
pnpm config set store-dir /root/.pnpm
|
||||
|
|
Loading…
Reference in New Issue