Skip to content

Commit

Permalink
removing yarn timeout command.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogJ committed Jan 26, 2023
1 parent 914ed97 commit 7eb86d9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
FROM node:18.9.0 as frontend-build
ARG FASTEN_ENV=sandbox
WORKDIR /usr/src/fastenhealth/frontend
#COPY frontend/package.json frontend/yarn.lock ./
COPY frontend/package.json ./
#COPY frontend/yarn.lock ./
COPY frontend/package.json frontend/yarn.lock ./

RUN yarn config set registry "http:https://registry.npmjs.org" \
&& yarn install --frozen-lockfile --network-timeout 100000
&& yarn install --frozen-lockfile
COPY frontend/ ./
RUN yarn run build -- --configuration ${FASTEN_ENV} --output-path=../dist

Expand Down

0 comments on commit 7eb86d9

Please sign in to comment.