We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4af99c4 commit 0818510Copy full SHA for 0818510
Microsoft.NET.Build.Containers/CreateNewImage.cs
@@ -109,6 +109,7 @@ public override bool Execute()
109
110
Layer newLayer = Layer.FromDirectory(PublishDirectory, WorkingDirectory);
111
image.AddLayer(newLayer);
112
+ image.WorkingDirectory = WorkingDirectory;
113
image.SetEntrypoint(Entrypoint.Select(i => i.ItemSpec).ToArray(), EntrypointArgs.Select(i => i.ItemSpec).ToArray());
114
115
if (OutputRegistry.StartsWith("docker://"))
0 commit comments