Sfoglia il codice sorgente

dockerfile: add env

Yi 1 anno fa
parent
commit
6d9391be30
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      Dockerfile

+ 2 - 0
Dockerfile

@@ -22,6 +22,8 @@ owner="yiping.xu"
 
 WORKDIR /app/kpt-tmr
 
+ENV TZ=Asia/Shanghai
+
 RUN rm -f /etc/localtime \
 && ln -sv /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
 && echo "Asia/Shanghai" > /etc/timezone