Skip to content

Commit

Permalink
Fix YOLOv5 serverless function (#4344)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Manovich authored Feb 15, 2022
1 parent f719648 commit 2f1e89c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion serverless/pytorch/ultralytics/yolov5/nuclio/function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2f1e89c

Please sign in to comment.