|
@@ -2,8 +2,8 @@ FROM hub.evbj.easou.com/pro/wapage2web:v1.0.5
|
|
|
MAINTAINER scofield[scofield_shi@easou.cn]
|
|
|
|
|
|
ENV TZ=Asia/Shanghai
|
|
|
-RUN rm -rf /data/project/* \
|
|
|
- && wget -P /app/resin-pro-3.1.6/webapps http://10.26.22.185:9000/psop/soft/ads.war \
|
|
|
+RUN wget -P /app/resin-pro-3.1.6/webapps http://10.26.22.185:9000/psop/soft/ads.war \
|
|
|
+ && rm -rf /data/project/* \
|
|
|
&& rm -f /app/resin-pro-3.1.6/conf/resin.conf \
|
|
|
&& rm -rf /app/wapage
|
|
|
&& rm -f /etc/supervisord.conf
|
|
@@ -11,7 +11,7 @@ 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
|
|
|
-
|
|
|
+COPY /app/resin-pro-3.1.6/webapps/ads.war /data/project/ads.war
|
|
|
#start resin
|
|
|
ENTRYPOINT ["entrypoint.sh"]
|
|
|
CMD ["supervisord"]
|