fix:修复旧版本没有标识文档读写缓存失败的BUG

This commit is contained in:
lifei6671
2018-08-13 15:04:52 +08:00
parent b50d39f690
commit c7251697b3
7 changed files with 60 additions and 44 deletions

View File

@@ -84,6 +84,9 @@ WORKDIR /mindoc
COPY --from=0 /go/src/github.com/lifei6671/mindoc .
# 时区设置
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
ENV ZONEINFO=/mindoc/lib/time/zoneinfo.zip
RUN chmod +x start.sh