后端新增《蚕茧识别V2》模块
This commit is contained in:
@@ -8,6 +8,8 @@ RUN apt-get update && \
|
||||
libpq5 \
|
||||
unixodbc \
|
||||
curl \
|
||||
fonts-wqy-zenhei \
|
||||
libgl1 \
|
||||
gnupg \
|
||||
apt-transport-https \
|
||||
lsb-release && \
|
||||
@@ -21,6 +23,10 @@ RUN apt-get update && \
|
||||
COPY app/requirements.txt .
|
||||
# 安装 Python 依赖
|
||||
RUN pip install --no-cache-dir -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt
|
||||
RUN python -m pip uninstall -y opencv-python
|
||||
RUN python -m pip install opencv-python-headless
|
||||
|
||||
|
||||
|
||||
# 复制并解压 JRE
|
||||
COPY docker/OpenJDK17U-jre_x64_linux_hotspot_17.0.16_8.tar.gz /opt/
|
||||
|
||||
Reference in New Issue
Block a user