diff --git a/LCU.WebApps.Collections.RepoClient/Dockerfile b/LCU.WebApps.Collections.RepoClient/Dockerfile index 3b67b1c..cce3f39 100644 --- a/LCU.WebApps.Collections.RepoClient/Dockerfile +++ b/LCU.WebApps.Collections.RepoClient/Dockerfile @@ -4,13 +4,18 @@ WORKDIR /app COPY package.json package-lock.json ./ +RUN npm install -g npm@9 + ARG PAT=vvqu3q252m5kqwptu4tavha4ghk4svhmwsahb2kvlu22ogiegt6q RUN TOKEN="$(printf "%s" "${PAT}" | base64 | tr -d '\n')" && \ printf "registry=https://landmarkcu.pkgs.visualstudio.com/_packaging/LCU-Internal/npm/registry/\n" > .npmrc && \ printf "always-auth=true\n" >> .npmrc && \ printf "//landmarkcu.pkgs.visualstudio.com/_packaging/LCU-Internal/npm/registry/:username=azdo\n" >> .npmrc && \ printf "//landmarkcu.pkgs.visualstudio.com/_packaging/LCU-Internal/npm/registry/:_password=%s\n" "${TOKEN}" >> .npmrc && \ - printf "//landmarkcu.pkgs.visualstudio.com/_packaging/LCU-Internal/npm/registry/:email=build@landmarkcu.com\n" >> .npmrc + printf "//landmarkcu.pkgs.visualstudio.com/_packaging/LCU-Internal/npm/registry/:email=build@landmarkcu.com\n" >> .npmrc && \ + printf "//landmarkcu.pkgs.visualstudio.com/_packaging/LCU-Internal/npm/:username=azdo\n" >> .npmrc && \ + printf "//landmarkcu.pkgs.visualstudio.com/_packaging/LCU-Internal/npm/:_password=%s\n" "${TOKEN}" >> .npmrc && \ + printf "//landmarkcu.pkgs.visualstudio.com/_packaging/LCU-Internal/npm/:email=build@landmarkcu.com\n" >> .npmrc RUN npm ci --unsafe-perm