|
@ -80,7 +80,7 @@ export default class Now extends EventEmitter { |
|
|
let docker; |
|
|
let docker; |
|
|
try { |
|
|
try { |
|
|
const dockerfile = await readFile(resolvePath(path, 'Dockerfile'), 'utf8'); |
|
|
const dockerfile = await readFile(resolvePath(path, 'Dockerfile'), 'utf8'); |
|
|
docker = parseDockerfile(dockerfile); |
|
|
docker = parseDockerfile(dockerfile, { includeComments: true }); |
|
|
} catch (err) { |
|
|
} catch (err) { |
|
|
const e = Error(`Failed to parse "${path}/Dockerfile"`); |
|
|
const e = Error(`Failed to parse "${path}/Dockerfile"`); |
|
|
e.userError = true; |
|
|
e.userError = true; |
|
|