Updated paths.
This commit is contained in:
		
							parent
							
								
									a2fa976065
								
							
						
					
					
						commit
						0295108e6b
					
				@ -84,7 +84,7 @@ class ContainerService(BaseService):
 | 
			
		||||
                "./"
 | 
			
		||||
                + str(await self.services.channel.get_home_folder(channel_uid))
 | 
			
		||||
                + ":"
 | 
			
		||||
                + "/root"
 | 
			
		||||
                + "/home/ubuntu"
 | 
			
		||||
            ],
 | 
			
		||||
        )
 | 
			
		||||
        return await self.compose.get_instance(name)
 | 
			
		||||
 | 
			
		||||
@ -65,7 +65,8 @@ class ComposeFileManager:
 | 
			
		||||
            "build": {
 | 
			
		||||
                "context": ".",
 | 
			
		||||
                "dockerfile": "DockerfileUbuntu",
 | 
			
		||||
            }
 | 
			
		||||
            },
 | 
			
		||||
            "user":"ubuntu"
 | 
			
		||||
        }
 | 
			
		||||
        service["command"] = command or "tail -f /dev/null"
 | 
			
		||||
        if cpus or memory:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user