修复libGL.so.1库缺失
This commit is contained in:
@@ -14,6 +14,7 @@ ENV PYTHONUNBUFFERED=1 \
|
|||||||
# 安装依赖
|
# 安装依赖
|
||||||
COPY requirements.txt /app/requirements.txt
|
COPY requirements.txt /app/requirements.txt
|
||||||
RUN 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 \
|
||||||
|
&& sudo yum install mesa-libGL -y \
|
||||||
&& pip install --no-cache-dir -r requirements.txt
|
&& pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
# 将当前目录内容复制到容器的/app内
|
# 将当前目录内容复制到容器的/app内
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ jieba==0.42.1 # 中文分词
|
|||||||
numpy==1.26.4
|
numpy==1.26.4
|
||||||
OpenCC==1.1.9 # 中文繁简转换
|
OpenCC==1.1.9 # 中文繁简转换
|
||||||
opencv-python==4.6.0.66
|
opencv-python==4.6.0.66
|
||||||
opencv-python-headless==4.10.0.84
|
|
||||||
pillow==10.4.0
|
pillow==10.4.0
|
||||||
pymysql==1.1.1
|
pymysql==1.1.1
|
||||||
requests==2.32.3
|
requests==2.32.3
|
||||||
|
|||||||
Reference in New Issue
Block a user