apt配置国内镜像源
This commit is contained in:
@@ -12,6 +12,7 @@ ENV PYTHONUNBUFFERED=1 \
|
||||
PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
|
||||
# 安装依赖
|
||||
COPY sources.list /etc/apt/sources.list
|
||||
COPY requirements.txt /app/requirements.txt
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo '$TZ' > /etc/timezone \
|
||||
&& apt-get update && apt-get install libgl1 \
|
||||
|
||||
Reference in New Issue
Block a user