|
@@ -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
|