Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -20,7 +20,7 @@ RUN apt-get update && apt-get install libgl1 -y
|
|
20 |
RUN mkdir -p /app/torch_cache && chown -R user:user /app/torch_cache && chmod -R 755 /app/torch_cache
|
21 |
RUN mkdir -p /app/torch_cache/hub && chown -R user:user /app/torch_cache/hub && chmod -R 755 /app/torch_cache/hub
|
22 |
RUN mkdir -p /app/data && chown -R user:user /app/data && chmod -R 755 /app/data
|
23 |
-
|
24 |
|
25 |
COPY --chown=user ./yolov5/weights/model5.pt /app/models/model5.pt
|
26 |
|
|
|
20 |
RUN mkdir -p /app/torch_cache && chown -R user:user /app/torch_cache && chmod -R 755 /app/torch_cache
|
21 |
RUN mkdir -p /app/torch_cache/hub && chown -R user:user /app/torch_cache/hub && chmod -R 755 /app/torch_cache/hub
|
22 |
RUN mkdir -p /app/data && chown -R user:user /app/data && chmod -R 755 /app/data
|
23 |
+
RUN mkdir -p /app/torch_cache/hub/ultralytics-yolov5-d611217/ && chown -R user:user /app/torch_cache/hub/ultralytics-yolov5-d611217/ && chmod -R 755 /app/torch_cache/hub/ultralytics-yolov5-d611217/
|
24 |
|
25 |
COPY --chown=user ./yolov5/weights/model5.pt /app/models/model5.pt
|
26 |
|