From 7885806967bcf8c78f26ada949fbe9d85079ef84 Mon Sep 17 00:00:00 2001 From: Teo Koon Peng Date: Thu, 7 Nov 2024 02:12:13 +0000 Subject: [PATCH] use lts Signed-off-by: Teo Koon Peng --- .github/demo-dashboard/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/demo-dashboard/Dockerfile b/.github/demo-dashboard/Dockerfile index 9a5c70951..bd7517140 100644 --- a/.github/demo-dashboard/Dockerfile +++ b/.github/demo-dashboard/Dockerfile @@ -10,8 +10,7 @@ RUN curl -fsSL https://get.pnpm.io/install.sh | bash - # shell runs in non-interactive mode, which does not source .bashrc so we need to set the PATH manually ENV PNPM_HOME /root/.local/share/pnpm ENV PATH "$PNPM_HOME:$PATH" -# node-canvas does not have prebuilt binaries for latest lts (node 22) -RUN pnpm env use --global 20 +RUN pnpm env use --global lts # fetch sources RUN mkdir -p /ws \ @@ -37,7 +36,7 @@ RUN curl -fsSL https://get.pnpm.io/install.sh | bash - # shell runs in non-interactive mode, which does not source .bashrc so we need to set the PATH manually ENV PNPM_HOME /root/.local/share/pnpm ENV PATH "$PNPM_HOME:$PATH" -RUN pnpm env use --global 20 +RUN pnpm env use --global lts RUN pnpm add --global serve