Browse Source
Co-authored-by: Filip Stas <filip@visuasoft.be>
pull/584/head
Filip Stas
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
src/Microsoft.Tye.Hosting/DockerRunner.cs
|
|
|
@ -283,11 +283,11 @@ namespace Microsoft.Tye.Hosting |
|
|
|
if (volumeMapping.Source != null) |
|
|
|
{ |
|
|
|
var sourcePath = Path.GetFullPath(Path.Combine(application.ContextDirectory, volumeMapping.Source)); |
|
|
|
volumes += $"-v {sourcePath}:{volumeMapping.Target} "; |
|
|
|
volumes += $"-v \"{sourcePath}:{volumeMapping.Target}\" "; |
|
|
|
} |
|
|
|
else if (volumeMapping.Name != null) |
|
|
|
{ |
|
|
|
volumes += $"-v {volumeMapping.Name}:{volumeMapping.Target} "; |
|
|
|
volumes += $"-v \"{volumeMapping.Name}:{volumeMapping.Target}\" "; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|