|
@@ -2,16 +2,15 @@ FROM hub.evbj.easou.com/pro/wapage2web:v1.0.5
|
|
|
MAINTAINER scofield[scofield_shi@easou.cn]
|
|
|
|
|
|
ENV TZ=Asia/Shanghai
|
|
|
+COPY entrypoint.sh /usr/bin/entrypoint.sh
|
|
|
RUN rm -f /app/resin-pro-3.1.6/conf/resin.conf \
|
|
|
&& rm -rf /app/wapage \
|
|
|
&& rm -f /etc/supervisord.conf \
|
|
|
- && rm -f /usr/bin/entrypoint.sh
|
|
|
-ADD http://10.26.22.185:9000/psop/soft/ads.tar.gz /data/project/ads.tar.gz
|
|
|
+ && chmod +x /usr/bin/entrypoint.sh
|
|
|
+ADD http://10.26.22.185:9000/psop/soft/ads.war /app/resin-pro-3.1.6/webapps/ads.war
|
|
|
COPY supervisord.conf /etc/supervisord.conf
|
|
|
COPY resin.conf /app/resin-pro-3.1.6/conf/resin.conf
|
|
|
-COPY entrypoint.sh /usr/bin/entrypoint.sh
|
|
|
-RUN chmod +x /usr/bin/entrypoint.sh \
|
|
|
- && tar -zxf /data/project/ads.tar.gz -C /data/project/
|
|
|
+
|
|
|
|
|
|
#start resin
|
|
|
CMD ["supervisord"]
|