kozo2 commited on
Commit
d341127
·
verified ·
1 Parent(s): d8f6f04

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -14,6 +14,10 @@ COPY src/ ./src/
14
 
15
  RUN pip3 install -r requirements.txt
16
 
 
 
 
 
17
  EXPOSE 8501
18
 
19
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
 
14
 
15
  RUN pip3 install -r requirements.txt
16
 
17
+ RUN useradd -m -u 1000 user
18
+ USER user
19
+ ENV HOME=/home/user
20
+
21
  EXPOSE 8501
22
 
23
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health