Qa5im commited on
Commit
1b3d41c
·
1 Parent(s): 6bcad7c

updated the docker file

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -22,11 +22,14 @@ COPY . .
22
  # Set the working directory to /
23
  WORKDIR /
24
 
 
25
  RUN mkdir -p /uploads
26
  RUN chmod 777 /uploads
27
 
 
 
28
  # Install requirements.txt
29
- RUN pip install --no-cache-dir --upgrade -r /requirements.txt
30
 
31
  # Start the FastAPI app on port 7860, the default port expected by Spaces
32
  CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"]
 
22
  # Set the working directory to /
23
  WORKDIR /
24
 
25
+
26
  RUN mkdir -p /uploads
27
  RUN chmod 777 /uploads
28
 
29
+ NUMBA_CACHE_DIR /temp
30
+
31
  # Install requirements.txt
32
+ RUN pip install --upgrade -r /requirements.txt
33
 
34
  # Start the FastAPI app on port 7860, the default port expected by Spaces
35
  CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"]