修复libGL.so.1库缺失

This commit is contained in:
2024-10-12 10:42:40 +08:00
parent 98fb9fa861
commit ebb10b2816
2 changed files with 1 additions and 1 deletions

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 \
&& sudo yum install mesa-libGL -y \
&& pip install --no-cache-dir -r requirements.txt
# 将当前目录内容复制到容器的/app内

View File

@@ -2,7 +2,6 @@ jieba==0.42.1 # 中文分词
numpy==1.26.4
OpenCC==1.1.9 # 中文繁简转换
opencv-python==4.6.0.66
opencv-python-headless==4.10.0.84
pillow==10.4.0
pymysql==1.1.1
requests==2.32.3