promptsai commited on
Commit
ce3db45
·
verified ·
1 Parent(s): 63ec93c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -8,9 +8,9 @@ WORKDIR /code
8
  ENV MPLCONFIGDIR=/tmp/matplotlib_cache
9
  ENV XDG_CACHE_HOME=/tmp/cache
10
 
11
- # Create and set permissions for the gdown cache directory
12
- RUN mkdir -p /.cache/gdown \
13
- && chmod -R 777 /.cache
14
 
15
  # Install libGL for OpenCV
16
  RUN apt-get update && apt-get install -y \
 
8
  ENV MPLCONFIGDIR=/tmp/matplotlib_cache
9
  ENV XDG_CACHE_HOME=/tmp/cache
10
 
11
+ # Create necessary directories and set permissions
12
+ RUN mkdir -p /.cache/gdown /code/pretrained_models \
13
+ && chmod -R 777 /.cache /code/pretrained_models
14
 
15
  # Install libGL for OpenCV
16
  RUN apt-get update && apt-get install -y \