|
@@ -3,14 +3,14 @@ FROM hub.evbj.easou.com/rec/eavideo-admin:v1base
|
|
COPY 2ea92094abd2c97ce8d8036c8fc0087d /root/.subversion/auth/svn.ssl.server/2ea92094abd2c97ce8d8036c8fc0087d
|
|
COPY 2ea92094abd2c97ce8d8036c8fc0087d /root/.subversion/auth/svn.ssl.server/2ea92094abd2c97ce8d8036c8fc0087d
|
|
COPY build.sh /app/build.sh
|
|
COPY build.sh /app/build.sh
|
|
COPY start.sh /app/wapage/start.sh
|
|
COPY start.sh /app/wapage/start.sh
|
|
-COPY supervisord.conf /etc/supervisord.conf
|
|
|
|
|
|
+COPY entrypoint.sh /usr/bin/entrypoint.sh
|
|
|
|
|
|
RUN cd /app \
|
|
RUN cd /app \
|
|
&& echo 'yes' | svn co https://svn.evbj.easou.com/codes/ep/base/search/eavideo/eavideo_adv/trunk --username hunter_lu --password=easou_hunter trunk \
|
|
&& echo 'yes' | svn co https://svn.evbj.easou.com/codes/ep/base/search/eavideo/eavideo_adv/trunk --username hunter_lu --password=easou_hunter trunk \
|
|
&& sh /app/build.sh \
|
|
&& sh /app/build.sh \
|
|
&& cp /app/trunk/eavideo-admin/target/eavideo-admin.jar /app/wapage/ \
|
|
&& cp /app/trunk/eavideo-admin/target/eavideo-admin.jar /app/wapage/ \
|
|
&& rm -rf /app/trunk \
|
|
&& rm -rf /app/trunk \
|
|
- && chmod +x /app/wapage/*.sh
|
|
|
|
|
|
+ && chmod +x /app/wapage/*.sh /usr/bin/entrypoint.sh
|
|
|
|
|
|
ENTRYPOINT ["entrypoint.sh"]
|
|
ENTRYPOINT ["entrypoint.sh"]
|
|
CMD ["supervisord"]
|
|
CMD ["supervisord"]
|