Nareshb92 commited on
Commit
2e73a87
·
1 Parent(s): 8134245

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -3,8 +3,9 @@ FROM python:3.10
3
  WORKDIR /src
4
 
5
  RUN apt-get update && apt-get install -y libpq-dev build-essential
6
- RUN pip install --upgrade pip
7
- RUN pip install --no-cache-dir --upgrade -r requirements.txt
 
8
 
9
  RUN pip install fastapi uvicorn
10
 
 
3
  WORKDIR /src
4
 
5
  RUN apt-get update && apt-get install -y libpq-dev build-essential
6
+ COPY ./requirements.txt /src/requirements.txt
7
+
8
+ RUN pip install --no-cache-dir --upgrade -r /src/requirements.txt
9
 
10
  RUN pip install fastapi uvicorn
11