Munzali commited on
Commit
4c6f6d3
·
verified ·
1 Parent(s): ce78089

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -52,9 +52,9 @@ RUN git clone https://github.com/lllyasviel/Fooocus . && \
52
  pip install --no-cache-dir -r requirements_versions.txt
53
 
54
 
55
- RUN sed -i 's/def auth_list_to_dict(.*)/def auth_list_to_dict\1\n pass/' modules/auth.py
56
- RUN sed -i 's/def load_auth_data(.*)/def load_auth_data\1\n pass/' modules/auth.py
57
- RUN sed -i 's/def check_auth(.*)/def check_auth\1\n pass/' modules/auth.py
58
 
59
 
60
  # remove the next line if you're running on your own GPU, it set max images to 3 and disables the API
 
52
  pip install --no-cache-dir -r requirements_versions.txt
53
 
54
 
55
+ RUN sed -i 's|def auth_list_to_dict(.*)|def auth_list_to_dict|1|n pass|' modules/auth.py
56
+ RUN sed -i 's|def load_auth_data(.*)|def load_auth_data|1|n pass|' modules/auth.py
57
+ RUN sed -i 's|def check_auth(.*)|def check_auth|1|n pass|' modules/auth.py
58
 
59
 
60
  # remove the next line if you're running on your own GPU, it set max images to 3 and disables the API