mirror of
https://git.meshkee.com/cssd/cssd-front.git
synced 2026-10-10 19:13:18 +03:30
fix: auth cicd on node 14
This commit is contained in:
+5
-4
@@ -1,4 +1,3 @@
|
||||
# Build Stage
|
||||
FROM docker.willaspace.com/repository/docker-hosted/node:14 as build-stage
|
||||
|
||||
ARG REGISTRY_TOKEN
|
||||
@@ -9,11 +8,13 @@ WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
RUN npm config set registry=$REGISTRY_PROXY
|
||||
RUN npm config set _auth=$REGISTRY_TOKEN
|
||||
|
||||
RUN npm config set //repo.willaspace.com/repository/npm-proxy/:_auth=$REGISTRY_TOKEN
|
||||
RUN npm config set strict-ssl=false
|
||||
|
||||
RUN npm install
|
||||
RUN npm cache clean --force
|
||||
|
||||
RUN npm i
|
||||
|
||||
COPY ./ .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user