Spaces:
Build error
Build error
Update Dockerfile
Browse files- 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 |
-
|
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
|