Browse Source

更新 'Dockerfile'

robert 5 năm trước cách đây
mục cha
commit
cca2552c27
1 tập tin đã thay đổi với 3 bổ sung4 xóa
  1. 3 4
      Dockerfile

+ 3 - 4
Dockerfile

@@ -1,7 +1,6 @@
 From hub.evbj.easou.com/dev/nginx-1.15.5:1.0.0
 
-ADD http://10.26.22.185:9000/psop/soft/wwwroot/wwwroot.zip /tmp/wwwroot.zip
-RUN yum install -y unzip \
-    && rm -f /usr/share/nginx/html/* \
-    && unzip /tmp/wwwroot.zip -d /tmp/ \
+ADD http://10.26.22.185:9000/psop/soft/wwwroot/wwwroot.tar.gz /tmp/
+RUN rm -f /usr/share/nginx/html/* \
+    && tar xf /tmp/wwwroot.tar.gz -C /tmp/ \
     && mv /tmp/wwwroot/* /usr/share/nginx/html/