Skip to content

Commit c3a9185

Browse files
committed
Listen to standard HTTP port when running Docker
1 parent 89cb50b commit c3a9185

File tree

1 file changed

+1
-0
lines changed
  • src/Content/NetCoreTool.Template.WebApi/CSharp

1 file changed

+1
-0
lines changed

src/Content/NetCoreTool.Template.WebApi/CSharp/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ RUN dotnet publish "Company.WebApplication1.csproj" -c Release -o /app
1515
FROM base AS final
1616
WORKDIR /app
1717
COPY --from=publish /app .
18+
ENV DOTNET_URLS http://0.0.0.0:80
1819
ENTRYPOINT ["dotnet", "Company.WebApplication1.dll"]

0 commit comments

Comments
 (0)