From ccc40e6874e3e3bcdcf36b172bf8a91202c6ea9e Mon Sep 17 00:00:00 2001 From: LoV432 Date: Sun, 25 Feb 2024 18:53:29 +0500 Subject: [PATCH] try node 21 --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 14395e7..fc9f032 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18 AS base +FROM node:21 AS base ARG TARGETPLATFORM @@ -11,9 +11,9 @@ WORKDIR /app # Install dependencies based on the preferred package manager COPY package.json package-lock.json ./ RUN npm ci -RUN if [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then \ - npm install -D @swc/cli @swc/core-linux-arm-gnueabihf @next/swc-linux-arm-gnueabihf ; \ - fi +# RUN if [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then \ +# npm install -D @swc/cli @swc/core-linux-arm-gnueabihf @next/swc-linux-arm-gnueabihf ; \ +# fi # Rebuild the source code only when needed