rajeshchoudharyt commited on
Commit
c5e0ec8
·
1 Parent(s): 1970e60

update dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -9,8 +9,7 @@ USER user
9
  COPY --chown=user . .
10
 
11
  # Install requirements.txt
12
- RUN pip install --upgrade pip
13
- RUN pip install --no-cache-dir --upgrade -r /requirements.txt
14
 
15
  # Start the FastAPI app on port 7860, the default port expected by Spaces
16
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
9
  COPY --chown=user . .
10
 
11
  # Install requirements.txt
12
+ RUN pip install -r /requirements.txt
 
13
 
14
  # Start the FastAPI app on port 7860, the default port expected by Spaces
15
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]