MohamedLotfy commited on
Commit
f5e5bb1
·
1 Parent(s): 08abb06

modify image container

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM python:3.9-slim-bullseye
2
 
3
  RUN useradd -m user # Creates user with home directory
4
  USER user
@@ -13,4 +13,4 @@ RUN pip install --user -r requirements.txt
13
 
14
  COPY --chown=user . .
15
 
16
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8080"]
 
1
+ FROM python:3.9-bullseye
2
 
3
  RUN useradd -m user # Creates user with home directory
4
  USER user
 
13
 
14
  COPY --chown=user . .
15
 
16
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8080"]