E-slam commited on
Commit
e162bb6
·
verified ·
1 Parent(s): 83f97cf

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -4
Dockerfile CHANGED
@@ -11,15 +11,12 @@ RUN chown -R user:user /code
11
 
12
  USER user
13
 
14
- # Install dependencies
15
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
16
 
17
- # Verify uvicorn installation
18
  RUN pip show uvicorn
19
 
20
  COPY --chown=user:user . /code
21
 
22
- # Set PATH explicitly
23
  ENV PATH="/home/user/.local/bin:${PATH}"
24
 
25
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
 
11
 
12
  USER user
13
 
 
14
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
15
 
 
16
  RUN pip show uvicorn
17
 
18
  COPY --chown=user:user . /code
19
 
 
20
  ENV PATH="/home/user/.local/bin:${PATH}"
21
 
22
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]