|
@@ -7,11 +7,12 @@ RUN rm -rf /data/project/* \
|
|
|
&& 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.war /data/project/ads.war
|
|
|
+ADD http://10.26.22.185:9000/psop/soft/ads.tar.gz /data/project/ads.tar.gz
|
|
|
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
|
|
|
+RUN chmod +x /usr/bin/entrypoint.sh \
|
|
|
+ && tar -zxf /data/project/ads.tar.gz -C /data/project/
|
|
|
|
|
|
#start resin
|
|
|
CMD ["supervisord"]
|