From 78c0e8ae08a206dd2b34f4bf81d18d477b0af68c Mon Sep 17 00:00:00 2001 From: Camil Blanaru Date: Mon, 25 Mar 2024 12:16:48 +0100 Subject: [PATCH] Upgrade npm package to latest version --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index e8c770d3..81628bbf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,6 +28,9 @@ WORKDIR /app RUN apk update && apk upgrade +# upgrade npm +RUN npm install -g npm@latest + ENV NODE_ENV production ENV NODE_OPTIONS='-r next-logger' # You only need to copy next.config.js if you are NOT using the default configuration