Ver Fonte

更新 'Dockerfile'

stone há 4 anos atrás
pai
commit
f73ed291d9
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      Dockerfile

+ 2 - 1
Dockerfile

@@ -5,7 +5,8 @@ MAINTAINER scofield[scofield_shi@easou.cn]
 COPY release /etc/release
 
 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
+	&& rsync -vzrtopg --progress $RELEASE/wapage2web_baidu.war /app/resin-pro-3.1.6/webapps/ROOT.war --password-file=/etc/rsyncd.wapage \
+	&& chmod +x /usr/bin/entrypoint.sh
 
 #start resin and misc
 ENTRYPOINT ["entrypoint.sh"]