mirror of
https://git.meshkee.com/cssd/cssd-front.git
synced 2026-10-13 06:53:18 +03:30
fix: auth cicd on node 14
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
|
.env
|
||||||
node_modules
|
node_modules
|
||||||
/dist
|
/dist
|
||||||
|
|
||||||
|
|||||||
+5
-4
@@ -1,4 +1,3 @@
|
|||||||
# Build Stage
|
|
||||||
FROM docker.willaspace.com/repository/docker-hosted/node:14 as build-stage
|
FROM docker.willaspace.com/repository/docker-hosted/node:14 as build-stage
|
||||||
|
|
||||||
ARG REGISTRY_TOKEN
|
ARG REGISTRY_TOKEN
|
||||||
@@ -9,11 +8,13 @@ WORKDIR /app
|
|||||||
|
|
||||||
COPY package*.json ./
|
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 ./ .
|
COPY ./ .
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user