luojunhui před 1 měsícem
rodič
revize
2500df810a
1 změnil soubory, kde provedl 1 přidání a 2 odebrání
  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