调整docker启动

This commit is contained in:
wangliwen 2022-11-07 16:45:12 +08:00
parent c84865ee1f
commit c1bfb201e2
2 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ VOLUME ["/usr/hisense"]
ADD application/$TAR_FILE $VERTICLE_HOME/
COPY simsun.ttc /usr/share/fonts/truetype/dejavu/
RUN cd /usr/share/fonts/truetype/dejavu && chmod 755 * && fc-cache -fv
COPY dockerstart.sh $VERTICLE_HOME/renren-admin
HEALTHCHECK --interval=3m --timeout=3s --start-period=3m --retries=5 CMD curl --silent --fail 127.0.0.1:8888/ucs-admin/census/center/v2/whole_amount || exit 1
WORKDIR $VERTICLE_HOME/renren-admin