Skip to content

Commit ce457ce

Browse files
committed
Fix: Docker container fails
The YOLO ML backend Docker container was failing to start with the error: exec /app/start.sh: no such file or directory yolo exited with code 255
1 parent b991f4f commit ce457ce

File tree

8 files changed

+3
-1
lines changed

8 files changed

+3
-1
lines changed

label_studio_ml/examples/yolo/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,6 @@ RUN /bin/sh -c 'if [ ! -f /app/models/yolov8m.pt ]; then \
5959

6060
ENV PYTHONPATH=/app
6161

62-
CMD ["/app/start.sh"]
62+
RUN sed -i 's/\r$//' /app/start.sh && chmod +x /app/start.sh
63+
64+
CMD ["/app/start.sh"]
12 KB
Binary file not shown.
49.7 MB
Binary file not shown.
5.31 MB
Binary file not shown.
6.26 MB
Binary file not shown.
6.52 MB
Binary file not shown.
6.74 MB
Binary file not shown.
6.25 MB
Binary file not shown.

0 commit comments

Comments
 (0)