Prechádzať zdrojové kódy

添加 'Dockerfile-base'

stone 4 rokov pred
rodič
commit
31bb71cf15
1 zmenil súbory, kde vykonal 10 pridanie a 0 odobranie
  1. 10 0
      Dockerfile-base

+ 10 - 0
Dockerfile-base

@@ -0,0 +1,10 @@
+FROM hub.evbj.easou.com/qa/wapage2web:v1base.0.1
+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/soft/resin-pro-3.1.16/webapps/ROOT.war --password-file=/etc/rsyncd.wapage
+
+#start resin
+ENTRYPOINT ["entrypoint.sh"]
+CMD ["/usr/bin/supervisord"]