Created
July 2, 2019 06:25
-
-
Save lmatt-bit/919c28fb795f8792c040c684592a59df to your computer and use it in GitHub Desktop.
how to forward port in vs docker tool
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You can add the <DockerfileRunArguments> tag to the <PropertyGroup> section in your *.csproj file and put additional run parameters there. | |
e.g. | |
<Project Sdk="Microsoft.NET.Sdk.Web"> | |
<PropertyGroup> | |
<DockerfileRunArguments>-p 5000:6000</DockerfileRunArguments> | |
</PropertyGroup> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment