修复libGL.so.1库缺失

This commit is contained in:
2024-10-12 11:16:32 +08:00
parent 97c7b2cfce
commit d9b24e906d

View File

@@ -14,6 +14,7 @@ ENV PYTHONUNBUFFERED=1 \
# 安装依赖
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 \
&& pip install --no-cache-dir -r requirements.txt
# 将当前目录内容复制到容器的/app内