修正编译步骤
This commit is contained in:
@@ -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内
|
||||
|
||||
Reference in New Issue
Block a user