Skip to content

Commit

Permalink
Fix Docker volume mount from OSX - #461 (#471)
Browse files Browse the repository at this point in the history
  • Loading branch information
akofman authored and DeviaVir committed Nov 16, 2018
1 parent 3b9edba commit 9689d1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ so you can easily test run multiple events.

_npmInstall (program, codeDirectory) {
const dockerBaseOptions = [
'run', '--rm', '-v', `${codeDirectory}:/var/task`, '-w', '/var/task',
'run', '--rm', '-v', `${fs.realpathSync(codeDirectory)}:/var/task`, '-w', '/var/task',
program.dockerImage,
'npm', '-s', 'install', '--production'
]
Expand Down

0 comments on commit 9689d1e

Please sign in to comment.