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"))
 | 
			
		||||
 | 
			
		||||
    print("about to build image")
 | 
			
		||||
    dockerfile_image = (
 | 
			
		||||
        modal.Image.debian_slim()
 | 
			
		||||
        .apt_install("git", "wget")
 | 
			
		||||
@ -76,6 +77,8 @@ if not deploy_test:
 | 
			
		||||
        .run_commands("python install_deps.py")
 | 
			
		||||
    )
 | 
			
		||||
 | 
			
		||||
print("built image")
 | 
			
		||||
 | 
			
		||||
# Time to wait between API check attempts in milliseconds
 | 
			
		||||
COMFY_API_AVAILABLE_INTERVAL_MS = 50
 | 
			
		||||
# Maximum number of API check attempts
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user