Upgrade nodejs and pnpm

This commit is contained in:
2022-12-27 20:37:56 +07:00
parent 019e21a5c3
commit c4abd19af5
4 changed files with 110 additions and 5 deletions

View File

@@ -4,8 +4,8 @@ LABEL maintainer="sombochea@cubetiqs.com"
# Build with root access
USER root
ENV NODE_VERSION 16.17.1
ENV NODE_SHA256 58118370085f0fb1a6a66cc5562d0c341e560ac9c4d0311307b671283b7f5671
ENV NODE_VERSION 16.19.0
ENV NODE_SHA256 f5817883eb3009972a031d635ea71ed8377808a6e831ae1c72e063e888cdd318
ENV USER_UID 1001
RUN addgroup -g ${USER_UID} node \
@@ -77,7 +77,7 @@ RUN addgroup -g ${USER_UID} node \
&& rm -f "node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz" \
&& apk del .build-deps
ARG PNPM_VERSION=7.19.0
ARG PNPM_VERSION=7.20.0
ENV PNPM_HOME=/root/.local/share/pnpm
ENV PATH=$PATH:$PNPM_HOME