def METHOD_NAME(self, base_path: Union[str, PathLike]) -> None:
    if not self.docker:
        return
    if not self.docker.get(self.BUILD) or not self.docker[self.BUILD].get(self.DOCKERFILE):
        return
    dockerfile_file = self.docker[self.BUILD][self.DOCKERFILE]
    if not dockerfile_file.startswith(FILE_PREFIX):
        return
    dockerfile_file = self._parse_file_path(dockerfile_file)
    with open(Path(base_path) / dockerfile_file, "r", encoding=DefaultOpenEncoding.READ) as f:
        self.docker[self.BUILD][self.DOCKERFILE] = f.read()
        self._docker_file_resolved = True
    return