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 . .