Munzali commited on
Commit
41623e0
·
verified ·
1 Parent(s): a2809f1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -58,9 +58,9 @@ RUN git clone https://github.com/lllyasviel/Fooocus . && \
58
  COPY ./auth.py /home/user/app/modules/auth.py
59
 
60
  # Change permissions using root user
61
- #USER root
62
  RUN chmod 644 /home/user/app/modules/auth.py
63
-
64
  # Now you can run sed command or any other modifications on auth.py
65
  # For example:
66
  # RUN sed -i "s|def load_auth_data.*|def.load_auth_data() pass|" /home/user/app/modules/auth.py
 
58
  COPY ./auth.py /home/user/app/modules/auth.py
59
 
60
  # Change permissions using root user
61
+ USER root
62
  RUN chmod 644 /home/user/app/modules/auth.py
63
+ USER user
64
  # Now you can run sed command or any other modifications on auth.py
65
  # For example:
66
  # RUN sed -i "s|def load_auth_data.*|def.load_auth_data() pass|" /home/user/app/modules/auth.py