PetrosStav commited on
Commit
a153a20
·
verified ·
1 Parent(s): 4d0c124

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -2,6 +2,10 @@ FROM intelligencenoborders/scinobo-citance-analysis:v0.1.0
2
 
3
  # Give permissions
4
  RUN chmod -R 777 /app
 
 
 
 
5
 
6
  # Copy files
7
  COPY download_model.py /app
 
2
 
3
  # Give permissions
4
  RUN chmod -R 777 /app
5
+ RUN chmod -R 777 /temp
6
+
7
+ # Set environment variable for the transformers cache directory
8
+ ENV TRANSFORMERS_CACHE=/tmp/models_cache
9
 
10
  # Copy files
11
  COPY download_model.py /app