Skip to content

Commit

Permalink
use lts
Browse files Browse the repository at this point in the history
Signed-off-by: Teo Koon Peng <[email protected]>
  • Loading branch information
koonpeng committed Nov 7, 2024
1 parent a7c631b commit 7885806
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/demo-dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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

Expand Down

0 comments on commit 7885806

Please sign in to comment.