修正编译步骤

This commit is contained in:
2024-08-22 13:36:30 +08:00
parent abb59d396f
commit 809a532f48

View File

@@ -24,8 +24,9 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo '$TZ' > /etc/timezone
# 编译文档检测的部分内容
COPY object_detection /app/object_detection
RUN python object_detection/core/models/py_utils/_cpools/setup.py install --user \
&& cd object_detection/core/external \
RUN cd /app/object_detection/core/models/py_utils/_cpools \
&& python setup.py install --user \
&& cd /app/object_detection/core/external \
&& make
# 将当前目录内容复制到容器的/app内