Update Dockerfile
Browse files- 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 |
-
|
|
|
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"]
|