This commit is contained in:
wangliwen 2022-11-07 17:31:39 +08:00
parent cd334ca109
commit f6ce0ecf90
2 changed files with 1 additions and 2 deletions

View File

@ -11,8 +11,6 @@ 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
RUN chmod 755 $VERTICLE_HOME/renren-admin/dockerstart.sh
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

View File

@ -31,6 +31,7 @@ public class AdminController {
@ApiOperation("进行后台程序更新")
@LogOperation("进行后台程序更新")
public Result<String> update(String updateFile, String active) {
updateUtil.update(updateFile, active);
return new Result<String>().ok("");
}