Skip to content

Commit 9689d1e

Browse files
akofmanDeviaVir
authored andcommitted
Fix Docker volume mount from OSX - #461 (#471)
1 parent 3b9edba commit 9689d1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ so you can easily test run multiple events.
343343

344344
_npmInstall (program, codeDirectory) {
345345
const dockerBaseOptions = [
346-
'run', '--rm', '-v', `${codeDirectory}:/var/task`, '-w', '/var/task',
346+
'run', '--rm', '-v', `${fs.realpathSync(codeDirectory)}:/var/task`, '-w', '/var/task',
347347
program.dockerImage,
348348
'npm', '-s', 'install', '--production'
349349
]

0 commit comments

Comments
 (0)