def run(install_path: Path, commands: List[str]) -> None:
    _assert_has_docker_permissions()
    compose_path = (install_path / 'docker-compose.yml')
    if frozen_utils.is_frozen():
        full_command = ['docker-compose']
    else:
        full_command = [sys.executable, '-m', 'compose']
    full_command += ['--file', str(compose_path)]
    compose_override_path = (install_path / 'docker-compose.override.yml')
    if compose_override_path.is_file():
        full_command += ['--file', str(compose_override_path)]
    env_path = (install_path / '.env')
    if env_path.is_file():
        full_command += ['--env-file', str(env_path)]
    os_utils.run((full_command + commands))
def run(install_path: Path, commands: List[str]) -> None:
    _assert_has_docker_permissions()
    compose_path = (install_path / 'docker-compose.yml')
    if frozen_utils.is_frozen():
        full_command = ['docker-compose']
    else:
        full_command = [sys.executable, '-m', 'compose']
    full_command += ['--file', str(compose_path)]
    compose_override_path = (install_path / 'docker-compose.override.yml')
    if compose_override_path.is_file():
        full_command += ['--file', str(compose_override_path)]
    env_path = (install_path / '.env')
    if env_path.is_file():
        full_command += ['--env-file', str(env_path)]
    os_utils.run((full_command + commands))