- FROM hub.evbj.easou.com/qa/copyright-content-manager:v1base
- COPY release /etc/release
- COPY entrypoint.sh /usr/bin/entrypoint.sh
- RUN export RELEASE=`head -n 1 /etc/release` \
- && rsync -avz $RELEASE/ROOT.war /tmp/ROOT.war \
- && chmod +x /usr/bin/entrypoint.sh
- #start resin
- ENTRYPOINT ["entrypoint.sh"]
- CMD ["supervisord"]
|