修正镜像源替换

This commit is contained in:
2024-10-12 12:56:56 +08:00
parent 608a647621
commit f8280e87ee
2 changed files with 9 additions and 9 deletions

View File

@@ -14,7 +14,7 @@ ENV PYTHONUNBUFFERED=1 \
# 安装库
COPY sources.list /etc/apt/sources.list
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo '$TZ' > /etc/timezone \
&& apt-get install libgl1
&& apt-get update && apt-get install libgl1
# 安装依赖
COPY requirements.txt /app/requirements.txt