Преглед на файлове

enhance: use yarn config

Bad3r преди 3 години
родител
ревизия
9f18a707aa
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -20,7 +20,7 @@ WORKDIR /data
 
 
 RUN git clone -b master https://github.com/logseq/logseq.git .
 RUN git clone -b master https://github.com/logseq/logseq.git .
 
 
-RUN printf "%s\n" "network-timeout 240000" >> ~/.yarnrc && yarn install
+RUN yarn config set network-timeout 240000 -g && yarn install
 
 
 # Build static resources
 # Build static resources
 RUN  yarn release 
 RUN  yarn release