Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -18,8 +18,8 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
18 |
RUN apt-get update && apt-get install libgl1 -y
|
19 |
|
20 |
RUN mkdir -p /app/torch_cache && chown -R user:user /app/torch_cache && chmod -R 755 /app/torch_cache
|
21 |
-
|
22 |
-
RUN mkdir -p /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
|
|
|
18 |
RUN apt-get update && apt-get install libgl1 -y
|
19 |
|
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
|