def get_install_requirements_dockerfile(self, name: str, tag: str, repo_path: Path,<EOL>requirements_option: RequirementsOptions) -> str:
if requirements_option == RequirementsOptions.requirements_txt:<EOL><INDENT>target_file = "<STR_LIT>"<EOL>requirements_files = [repo_path / self.requirements_location]<EOL>install_cmd = "<STR_LIT>"<EOL>cmd_arguments = "<STR_LIT>"<EOL><DEDENT>elif requirements_option == RequirementsOptions.pipfile:<EOL><INDENT>target_file = "<STR_LIT>"<EOL>requirements_files = [repo_path / self.pipfile_location / "<STR_LIT>",<EOL>repo_path / self.pipfile_location / "<STR_LIT>"]<EOL>install_cmd = "<STR_LIT>"<EOL>cmd_arguments = "<STR_LIT>"<EOL><DEDENT>else:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>dockerfile = self.INSTALL_REQUIREMENTS.format(<EOL>name=name,<EOL>tag=tag,<EOL>timeout=self.requirements_timeout,<EOL>target_file=target_file,<EOL>requirements_files="<STR_LIT:U+0020>".join(str(x.relative_to(repo_path.parent)) for x in requirements_files),<EOL>cmd_arguments=cmd_arguments,<EOL>install_cmd=install_cmd<EOL>)<EOL>logger.debug("<STR_LIT>", dockerfile)<EOL>return dockerfile<EOL>
Returns the content of a Dockerfile that will install requirements based on the repository,
prioritizing Pipfile or Pipfile.lock and falling back on requirements.txt files