luojunhui 1 tháng trước cách đây
mục cha
commit
2500df810a
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      Dockerfile

+ 1 - 2
Dockerfile

@@ -7,8 +7,7 @@ ENV PYTHONUNBUFFERED=1
 ENV PIP_DISABLE_PIP_VERSION_CHECK=on
 ENV PIP_DISABLE_PIP_VERSION_CHECK=on
 ENV TZ=Asia/Shanghai
 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 .
 COPY requirements.txt .
 RUN pip install --no-cache-dir -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple
 RUN pip install --no-cache-dir -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple