removing yarn timeout command.

This commit is contained in:
Jason Kulatunga 2023-01-25 21:06:52 -08:00
parent 914ed97a0a
commit 7eb86d988b
1 changed files with 3 additions and 4 deletions

View File

@ -4,11 +4,10 @@
FROM node:18.9.0 as frontend-build FROM node:18.9.0 as frontend-build
ARG FASTEN_ENV=sandbox ARG FASTEN_ENV=sandbox
WORKDIR /usr/src/fastenhealth/frontend WORKDIR /usr/src/fastenhealth/frontend
#COPY frontend/package.json frontend/yarn.lock ./ COPY frontend/package.json frontend/yarn.lock ./
COPY frontend/package.json ./
#COPY frontend/yarn.lock ./
RUN yarn config set registry "http://registry.npmjs.org" \ RUN yarn config set registry "http://registry.npmjs.org" \
&& yarn install --frozen-lockfile --network-timeout 100000 && yarn install --frozen-lockfile
COPY frontend/ ./ COPY frontend/ ./
RUN yarn run build -- --configuration ${FASTEN_ENV} --output-path=../dist RUN yarn run build -- --configuration ${FASTEN_ENV} --output-path=../dist