force use npmjs registry
This commit is contained in:
parent
c473ee7e47
commit
7acbb8148c
|
@ -2,8 +2,9 @@ FROM node:18.9.0 as frontend-build
|
|||
WORKDIR /usr/src/fastenhealth/frontend
|
||||
#COPY frontend/package.json frontend/yarn.lock ./
|
||||
COPY frontend/package.json ./
|
||||
COPY frontend/yarn.lock ./
|
||||
RUN yarn install --frozen-lockfile --network-timeout 100000
|
||||
#COPY frontend/yarn.lock ./
|
||||
RUN yarn config set registry "http://registry.npmjs.org" \
|
||||
yarn install --frozen-lockfile --network-timeout 100000
|
||||
COPY frontend/ ./
|
||||
RUN yarn run build -- --configuration sandbox --output-path=../dist
|
||||
|
||||
|
|
Loading…
Reference in New Issue