Skip to content

Commit

Permalink
build: remove timeout and added cache clean for yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
kevkevinpal committed Apr 26, 2023
1 parent 8532e3a commit cf0eed3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ WORKDIR /usr/src/app

COPY package*.json ./
COPY yarn.lock ./
RUN yarn install --network-timeout 1000000
VOLUME ./node_modules /app/node_modules
RUN yarn clean & yarn cache clean
RUN yarn install

COPY . .

Expand Down

0 comments on commit cf0eed3

Please sign in to comment.