diff --git a/Dockerfile b/Dockerfile index 22b201f..22d7d9e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ ### Build frontend # Due to no official elm compiler for arm; build frontend with amd64. -FROM --platform=linux/amd64 node:16 as frontend +FROM --platform=linux/amd64 node:18 as frontend WORKDIR /build COPY . . WORKDIR /build/ui diff --git a/shell.nix b/shell.nix index e163f13..44fffa4 100644 --- a/shell.nix +++ b/shell.nix @@ -25,7 +25,7 @@ pkgs.mkShell { go_1_18 golint gopls - nodejs-16_x + nodejs_18 nodePackages.yarn rpm swaks