From 2d3691f942bf936b8e7d58664012969dbd1fcfde Mon Sep 17 00:00:00 2001 From: Stille Date: Wed, 16 Feb 2022 12:15:09 +0800 Subject: [PATCH] add TZ for coscmd --- coscmd/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/coscmd/Dockerfile b/coscmd/Dockerfile index 41e0834..c936c72 100644 --- a/coscmd/Dockerfile +++ b/coscmd/Dockerfile @@ -2,5 +2,6 @@ FROM python:3.7-slim LABEL maintainer="Stille " 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