diff --git a/Dockerfile b/Dockerfile index 02eb4541..af08a2c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20-alpine as node +FROM node:23-alpine as node RUN --mount=type=secret,id=NODE_AUTH_TOKEN \ npm config set //npm.pkg.github.com/:_authToken=$(cat /run/secrets/NODE_AUTH_TOKEN) RUN npm config set @navikt:registry=https://npm.pkg.github.com