Jhenderson112 commited on
Commit
dc81eba
·
1 Parent(s): 16785ae

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -7,8 +7,8 @@ WORKDIR /code
7
 
8
  COPY ./requirements.txt /code/requirements.txt
9
 
10
- # Create a directory for the cache
11
- RUN mkdir -p /usr/src/app/cache
12
 
13
  # Set the TRANSFORMERS_CACHE environment variable
14
  ENV TRANSFORMERS_CACHE=/usr/src/app/cache
 
7
 
8
  COPY ./requirements.txt /code/requirements.txt
9
 
10
+ # Create a directory for the cache and set the correct permissions
11
+ RUN mkdir -p /usr/src/app/cache && chmod 777 /usr/src/app/cache
12
 
13
  # Set the TRANSFORMERS_CACHE environment variable
14
  ENV TRANSFORMERS_CACHE=/usr/src/app/cache