We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5509940 + 233eefa commit 71483c1Copy full SHA for 71483c1
src/cli/program.js
@@ -36,7 +36,7 @@ module.exports = function createProgram() {
36
}
37
38
const { context: dockerContext, output } = cmd
39
- const absoluteDockerfilePath = file.startsWith("/")
+ const absoluteDockerfilePath = path.isAbsolute(file)
40
? file
41
: path.join(dockerContext, file)
42
0 commit comments