vishalsh13 commited on
Commit
c40f821
·
1 Parent(s): 10c2695

fiassgpu and other upload

Browse files
Files changed (2) hide show
  1. Dockerfile +4 -0
  2. requirements.txt +1 -0
Dockerfile CHANGED
@@ -16,6 +16,10 @@ WORKDIR /app
16
  # Copy the application files
17
  COPY . .
18
 
 
 
 
 
19
  # Create directories with proper read/write permissions
20
  RUN mkdir -p /app/uploads/vectors && \
21
  chmod -R 777 /app/uploads
 
16
  # Copy the application files
17
  COPY . .
18
 
19
+ # Set Hugging Face cache directory
20
+ ENV TRANSFORMERS_CACHE=/app/cache
21
+ RUN mkdir -p /app/cache && chmod -R 777 /app/cache
22
+
23
  # Create directories with proper read/write permissions
24
  RUN mkdir -p /app/uploads/vectors && \
25
  chmod -R 777 /app/uploads
requirements.txt CHANGED
@@ -8,3 +8,4 @@ PyMuPDF==1.22.5
8
  python-pptx==0.6.21
9
  pandas==1.5.3
10
  numpy==1.24.2
 
 
8
  python-pptx==0.6.21
9
  pandas==1.5.3
10
  numpy==1.24.2
11
+