rajeshchoudharyt commited on
Commit
a5ec0f3
1 Parent(s): 6213fdc

update host ip

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -4,9 +4,9 @@ COPY . .
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"]
 
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 ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]