We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4058c9 commit e840107Copy full SHA for e840107
src/image.py
@@ -130,9 +130,15 @@ def collect_installed_packages_information(self):
130
]
131
for command in commands:
132
command_responses.append(f"\n{command}")
133
- command_responses.append(
134
- bytes.decode(docker_client.containers.run(self.ecr_url, command))
135
- )
+ # Override entrypoint for vLLM images to prevent server startup
+ if "vllm" in self.ecr_url.lower():
+ command_responses.append(
136
+ bytes.decode(docker_client.containers.run(self.ecr_url, command, entrypoint=""))
137
+ )
138
+ else:
139
140
+ bytes.decode(docker_client.containers.run(self.ecr_url, command))
141
142
docker_client.containers.prune()
143
return command_responses
144
0 commit comments