Parcourir la source

更新 'Dockerfile'

stone il y a 5 ans
Parent
commit
ee008f123b
2 fichiers modifiés avec 11 ajouts et 10 suppressions
  1. 11 0
      Dockerfile
  2. 0 10
      Dockerfile-00

+ 11 - 0
Dockerfile

@@ -0,0 +1,11 @@
+FROM hub.evbj.easou.com/dev/centos:6.8
+MAINTAINER scofield[scofield_shi@easou.cn]
+
+COPY entrypoint.sh /usr/bin/entrypoint.sh
+COPY rsyncd.wapage /etc/rsyncd.wapage
+COPY release /etc/release
+COPY supervisord.conf /etc/supervisord.conf
+
+#start miscSearch
+ENTRYPOINT ["entrypoint.sh"]
+CMD ["/usr/bin/supervisord"]

+ 0 - 10
Dockerfile-00

@@ -1,10 +0,0 @@
-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"]