diff --git a/lib/index.js b/lib/index.js index 9eba340..e834998 100644 --- a/lib/index.js +++ b/lib/index.js @@ -80,7 +80,7 @@ export default class Now extends EventEmitter { let docker; try { const dockerfile = await readFile(resolvePath(path, 'Dockerfile'), 'utf8'); - docker = parseDockerfile(dockerfile); + docker = parseDockerfile(dockerfile, { includeComments: true }); } catch (err) { const e = Error(`Failed to parse "${path}/Dockerfile"`); e.userError = true;