(ref: string)
| 84 | * treating the path as a prebuilt image. |
| 85 | */ |
| 86 | export function isDockerfileRef(ref: string): boolean { |
| 87 | const base = basename(ref).toLowerCase(); |
| 88 | return ( |
| 89 | base === 'dockerfile' || |
| 90 | base === 'containerfile' || |
| 91 | base === 'dockerfile.vercel' || |
| 92 | base === 'containerfile.vercel' |
| 93 | ); |
| 94 | } |
| 95 | |
| 96 | // Vercel-specific container opt-in markers, auto-discovered when the build |
| 97 | // entrypoint doesn't name a Dockerfile explicitly (e.g. the `container` |
no outgoing calls
no test coverage detected