From cf0eed3bcd0fea49f0e2d732f4d2dc1e3e8b7996 Mon Sep 17 00:00:00 2001 From: kevkevin Date: Wed, 26 Apr 2023 14:23:04 -0500 Subject: [PATCH] build: remove timeout and added cache clean for yarn --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6e185f630..4236bb83c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 . .