kurnie commited on
Commit
f99e133
·
verified ·
1 Parent(s): e46f258

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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
- #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
 
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