Explorar o código

Update Dockerfile

star7th %!s(int64=6) %!d(string=hai) anos
pai
achega
f4141f2a0d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Dockerfile

+ 1 - 0
Dockerfile

@@ -9,3 +9,4 @@ RUN chmod -R 777 /var/www/html/
 RUN mkdir /showdoc_data
 RUN mkdir /showdoc_data/html
 RUN cp -R /var/www/html/ /showdoc_data/
+CMD if [ ! -f "/var/www/html/index.php" ]; then \cp -fr /showdoc_data/html/ /var/www/ ;fi;chmod 777 -R /showdoc_data ;/start.sh