Inigozr commited on
Commit
b6e089b
1 Parent(s): 51a67f0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -5,7 +5,8 @@ WORKDIR /usr/src/ultralytics/
5
  COPY ./requirements.txt .
6
 
7
  RUN python3 -m pip install -r requirements.txt
8
- USER root
 
9
  COPY ./app.py .
10
 
11
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
5
  COPY ./requirements.txt .
6
 
7
  RUN python3 -m pip install -r requirements.txt
8
+ RUN useradd -m -u 1000 user
9
+ USER user
10
  COPY ./app.py .
11
 
12
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]