Browse Source

add TZ for coscmd

Stille 3 years ago
parent
commit
2d3691f942
1 changed files with 2 additions and 1 deletions
  1. 2 1
      coscmd/Dockerfile

+ 2 - 1
coscmd/Dockerfile

@@ -2,5 +2,6 @@ FROM python:3.7-slim
 LABEL maintainer="Stille <[email protected]>"
 
 ENV VERSION 1.8.6.24
-
+ENV TZ=Asia/Shanghai
+RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
 RUN pip install --upgrade --no-cache-dir coscmd