Browse Source

dockerfile: edit timezone for Shanghai

Yi 1 year ago
parent
commit
b6698ef20b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -25,7 +25,7 @@ WORKDIR /app/kpt-tmr
 RUN apk add --no-cache tzdata \
 && ln -sv /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
 && echo "Asia/Shanghai" > /etc/timezone \
-&& apk del tzdata
+&& apk del tzdata && date
 
 COPY --from=0 /app/kpt-tmr/conf/ /app/kpt-tmr/bin/conf/
 COPY --from=0  /app/kpt-tmr/bin/kptTmr /app/kpt-tmr/bin/kptTmr