luojunhui 2 天之前
父节点
当前提交
2500df810a
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      Dockerfile

+ 1 - 2
Dockerfile

@@ -7,8 +7,7 @@ ENV PYTHONUNBUFFERED=1
 ENV PIP_DISABLE_PIP_VERSION_CHECK=on
 ENV TZ=Asia/Shanghai
 
-RUN apt-get update \
-    && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone \
+RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone \
 
 COPY requirements.txt .
 RUN pip install --no-cache-dir -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple