astro21 commited on
Commit
005d250
·
verified ·
1 Parent(s): cb35691

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -1
Dockerfile CHANGED
@@ -4,7 +4,14 @@ WORKDIR /code
4
 
5
  COPY ./requirements.txt /code/requirements.txt
6
 
7
- RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
 
 
 
 
 
 
 
8
 
9
  COPY . .
10
 
 
4
 
5
  COPY ./requirements.txt /code/requirements.txt
6
 
7
+ RUN pip install --no-cache-dir --upgrade -r /code/requirements.tx
8
+
9
+ # Set the TRANSFORMERS_CACHE environment variable
10
+ ENV CODE /code
11
+
12
+
13
+ # Create the cache directory and adjust permissions
14
+ RUN chmod -R 777 $CODE
15
 
16
  COPY . .
17