MCPcopy Create free account
hub / github.com/vercel/vercel / findDockerfile

Function findDockerfile

packages/container/src/util.ts:111–113  ·  view source on GitHub ↗
(workPath: string)

Source from the content-addressed store, hash-verified

109 * sentinel.
110 */
111export function findDockerfile(workPath: string): string | undefined {
112 return DOCKERFILE_CANDIDATES.find(name => existsSync(join(workPath, name)));
113}
114
115/**
116 * Stable local image tag for `vercel dev`. Used by both the `build()` path

Callers 2

resolveImageHandlerFunction · 0.90
resolveDevImageFunction · 0.90

Calls 1

findMethod · 0.45

Tested by

no test coverage detected