def __get_docker_file_path(path):
    '''
    Determines the filepath to use

    :param path:
    :return:
    '''
    if os.path.isfile(path):
        return path
    for dc_filename in DEFAULT_DC_FILENAMES:
        file_path = os.path.join(path, dc_filename)
        if os.path.isfile(file_path):
            return file_path
def __get_docker_file_path ( path ) : if os . path . isfile ( path ) : return path for dc_filename in DEFAULT_DC_FILENAMES : file_path = os . path . join ( path , dc_filename ) if os . path . isfile ( file_path ) : return file_path
Determines the filepath to use

    :param path:
    :return: