koenverhagen commited on
Commit
6689001
1 Parent(s): 003fd19

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -3
Dockerfile CHANGED
@@ -16,10 +16,12 @@ RUN pip3 install --upgrade pip
16
  RUN pip install --pre triton
17
  RUN pip install numexpr torchmetrics==0.11.4
18
 
 
 
19
  set COMMANDLINE_ARGS=--api
20
- RUN python launch.py --skip-torch-cuda-test --api
 
21
 
22
- EXPOSE 7860
23
 
24
 
25
- CMD python webui.py --xformers --listen --disable-console-progressbars --enable-console-prompts --no-progressbar-hiding --ui-config-file
 
16
  RUN pip install --pre triton
17
  RUN pip install numexpr torchmetrics==0.11.4
18
 
19
+ EXPOSE 7860
20
+
21
  set COMMANDLINE_ARGS=--api
22
+ CMD python launch.py --skip-torch-cuda-test --num_cpu_threads_per_process=6 --api
23
+
24
 
 
25
 
26
 
27
+ # CMD python webui.py --xformers --listen --disable-console-progressbars --enable-console-prompts --no-progressbar-hiding --ui-config-file