1
0
Bad3r 2 жил өмнө
parent
commit
12e30a2e40
1 өөрчлөгдсөн 5 нэмэгдсэн , 2 устгасан
  1. 5 2
      Dockerfile

+ 5 - 2
Dockerfile

@@ -18,9 +18,12 @@ RUN apt-get update && apt-get install ca-certificates && \
 
 WORKDIR /data
 
+RUN git clone -b fix/docker-bulid-timeout https://github.com/logseq/logseq.git .
+
+RUN yarn install --network-timeout 100000
+
 # Build static resources
-RUN git clone -b fix/docker-bulid-timeout https://github.com/logseq/logseq.git . \
-    yarn install --network-timeout 100000 && gulp build && yarn cljs:release
+RUN gulp build && yarn cljs:release
 
 # Web App Runner image
 FROM nginx:stable-alpine