kamau1 commited on
Commit
4655f6a
1 Parent(s): 9947601

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -6,4 +6,8 @@ WORKDIR /
6
 
7
  RUN pip install --no-cache-dir --upgrade -r /requirements.txt
8
 
 
 
 
 
9
  CMD ["uvicorn", "modules.app:app", "--host", "0.0.0.0", "--port", "7860"]
 
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
+
13
  CMD ["uvicorn", "modules.app:app", "--host", "0.0.0.0", "--port", "7860"]