pragnakalp commited on
Commit
bb9295b
1 Parent(s): 347303e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -0
Dockerfile CHANGED
@@ -22,6 +22,16 @@ RUN git clone https://github.com/TencentARC/GFPGAN.git && cd GFPGAN && pip insta
22
 
23
  RUN git clone https://github.com/chi0tzp/PyVideoFramesExtractor && cd PyVideoFramesExtractor && pip install -r requirements.txt
24
 
 
 
 
 
 
 
 
 
 
 
25
 
26
  EXPOSE 7860
27
 
 
22
 
23
  RUN git clone https://github.com/chi0tzp/PyVideoFramesExtractor && cd PyVideoFramesExtractor && pip install -r requirements.txt
24
 
25
+ RUN adduser --disabled-password --gecos '' admin
26
+ RUN adduser admin sudo
27
+ RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
28
+
29
+ RUN chown -R admin:admin /content
30
+ RUN chmod -R 777 /content
31
+ RUN chown -R admin:admin /home
32
+ RUN chmod -R 777 /home
33
+ USER admin
34
+
35
 
36
  EXPOSE 7860
37