rajeshchoudharyt commited on
Commit
6213fdc
1 Parent(s): 459e9e0
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -4,9 +4,9 @@ COPY . .
4
 
5
  WORKDIR /
6
 
7
- RUN pip install --no-cache-dir --upgrade -r /requirements.txt
8
 
9
  RUN useradd -m -u 1000 user
10
  USER user
11
 
12
- CMD ["fastapi", "run", "app:app", "--port", "80"]
 
4
 
5
  WORKDIR /
6
 
7
+ RUN pip install -r /requirements.txt
8
 
9
  RUN useradd -m -u 1000 user
10
  USER user
11
 
12
+ CMD ["uvicorn", "app:app", "--port", "80"]