Explorar el Código

更新 'Dockerfile'

stone hace 5 años
padre
commit
435732c0a4
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      Dockerfile

+ 3 - 1
Dockerfile

@@ -13,11 +13,13 @@ RUN yum install -y wget rsync epel-release \
 	&& curl -O http://10.26.22.185:9000/psop/soft/web.tar.gz \
 	&& tar -zxf jdk1.6.0_21.tar.gz -C /usr/local/java/ \ 
 	&& tar -zxf misc.tar.gz -C /app/ \
-	&& rm -f web.tar.gz jdk1.6.0_21.tar.gz
+	&& rm -f web.tar.gz jdk1.6.0_21.tar.gz \
+	&& rm -f /app/resin-pro-3.1.6//conf/resin.conf
 
 COPY entrypoint.sh /usr/bin/entrypoint.sh
 COPY release /etc/release 
 COPY supervisord.conf /etc/supervisord.conf
+COPY resin.conf /app/resin-pro-3.1.6//conf/resin.conf
 
 RUN export RELEASE=`head -n 1 /etc/release` \
 	&& rsync -vzrtopg --progress $RELEASE/wapage2web_baidu.war /app/resin-pro-3.1.6/webapps/ROOT.war --password-file=/etc/rsyncd.wapage