Fix YOLOv5 serverless function (#4344)

main
Nikita Manovich 4 years ago committed by GitHub
parent f719648bb0
commit 2f1e89cc3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -96,12 +96,14 @@ spec:
eventTimeout: 30s
build:
image: cvat/ultralytics-yolov5
baseImage: ultralytics/yolov5:latest
baseImage: ultralytics/yolov5:latest-cpu
directives:
preCopy:
- kind: USER
value: root
- kind: RUN
value: apt update && apt install --no-install-recommends -y libglib2.0-0
- kind: WORKDIR
value: /opt/nuclio

Loading…
Cancel
Save