diff --git a/lib/pip.js b/lib/pip.js index fc8a08a6..9e724d07 100644 --- a/lib/pip.js +++ b/lib/pip.js @@ -89,7 +89,7 @@ function installRequirements( // Prepare bind path depending on os platform const bindPath = getBindPath(servicePath); - cmdOptions = ['run', '--rm', '-v', `${bindPath}:/var/task:z`]; + cmdOptions = ['run', '--rm', '-v', `"${bindPath}:/var/task:z"`]; if (options.dockerSsh) { // Mount necessary ssh files to work with private repos cmdOptions.push(