This commit is contained in:
		
							parent
							
								
									eb04f246a4
								
							
						
					
					
						commit
						dfd139294f
					
				@ -36,6 +36,7 @@ if not deploy_test:
 | 
				
			|||||||
    # dockerfile_image = Image.from_dockerfile(f"{current_directory}/Dockerfile", context_mount=Mount.from_local_dir(f"{current_directory}/data", remote_path="/data"))
 | 
					    # dockerfile_image = Image.from_dockerfile(f"{current_directory}/Dockerfile", context_mount=Mount.from_local_dir(f"{current_directory}/data", remote_path="/data"))
 | 
				
			||||||
    # dockerfile_image = Image.from_dockerfile(f"{current_directory}/Dockerfile", context_mount=Mount.from_local_dir(f"{current_directory}/data", remote_path="/data"))
 | 
					    # dockerfile_image = Image.from_dockerfile(f"{current_directory}/Dockerfile", context_mount=Mount.from_local_dir(f"{current_directory}/data", remote_path="/data"))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    print("about to build image")
 | 
				
			||||||
    dockerfile_image = (
 | 
					    dockerfile_image = (
 | 
				
			||||||
        modal.Image.debian_slim()
 | 
					        modal.Image.debian_slim()
 | 
				
			||||||
        .apt_install("git", "wget")
 | 
					        .apt_install("git", "wget")
 | 
				
			||||||
@ -76,6 +77,8 @@ if not deploy_test:
 | 
				
			|||||||
        .run_commands("python install_deps.py")
 | 
					        .run_commands("python install_deps.py")
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					print("built image")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Time to wait between API check attempts in milliseconds
 | 
					# Time to wait between API check attempts in milliseconds
 | 
				
			||||||
COMFY_API_AVAILABLE_INTERVAL_MS = 50
 | 
					COMFY_API_AVAILABLE_INTERVAL_MS = 50
 | 
				
			||||||
# Maximum number of API check attempts
 | 
					# Maximum number of API check attempts
 | 
				
			||||||
@ -306,4 +309,4 @@ def comfyui_app():
 | 
				
			|||||||
        },
 | 
					        },
 | 
				
			||||||
    )()
 | 
					    )()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    return make_simple_proxy_app(ProxyContext(config))
 | 
					    return make_simple_proxy_app(ProxyContext(config))
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user