瀏覽代碼

更新 'Dockerfile'

robert 5 年之前
父節點
當前提交
bbfb1a1ecd
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Dockerfile

+ 2 - 1
Dockerfile

@@ -1,6 +1,7 @@
 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 rm -f /usr/share/nginx/html/* \
+RUN yum install -y unzip \
+    && rm -f /usr/share/nginx/html/* \
     && unzip /tmp/wwwroot.zip -d /tmp/ \
     && mv /tmp/wwwroot/* /usr/share/nginx/html/