iamrobotbear commited on
Commit
bb7d4ff
·
1 Parent(s): 522e17a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -2,6 +2,11 @@ ENV DEBIAN_FRONTEND noninteractive
2
 
3
  RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3
4
 
 
 
 
 
 
5
  RUN pip3 install --upgrade pip
6
  RUN pip install gradio==3.17.0
7
 
 
2
 
3
  RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3
4
 
5
+ RUN adduser --disabled-password --gecos '' user
6
+ RUN mkdir /content && chown -R user:user /content
7
+ WORKDIR /content
8
+ USER user
9
+
10
  RUN pip3 install --upgrade pip
11
  RUN pip install gradio==3.17.0
12