Munzali commited on
Commit
9ac47e0
·
verified ·
1 Parent(s): 397bd1f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -57,6 +57,8 @@ RUN git clone https://github.com/lllyasviel/Fooocus . && \
57
 
58
  #RUN sed -i "s|def load_auth_data.*|def load_auth_data() pass|" /home/user/app/modules/auth.py
59
 
 
 
60
 
61
  # remove the next line if you're running on your own GPU, it set max images to 3 and disables the API
62
  RUN sed -i "s|image_number = gr.Slider(label='Image Number', minimum=1, maximum=32|image_number = gr.Slider(label='Image Number', minimum=1, maximum=3|" webui.py && \
 
57
 
58
  #RUN sed -i "s|def load_auth_data.*|def load_auth_data() pass|" /home/user/app/modules/auth.py
59
 
60
+ docker build --build-arg FILENAME=auth.json -t my_image
61
+
62
 
63
  # remove the next line if you're running on your own GPU, it set max images to 3 and disables the API
64
  RUN sed -i "s|image_number = gr.Slider(label='Image Number', minimum=1, maximum=32|image_number = gr.Slider(label='Image Number', minimum=1, maximum=3|" webui.py && \