Skip to content

Commit

Permalink
Remove EXPOSE
Browse files Browse the repository at this point in the history
  • Loading branch information
jbi89 committed May 12, 2023
1 parent e3f6271 commit f70fe0b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ RUN dotnet publish -c Release -o /app
FROM mcr.microsoft.com/dotnet/aspnet:7.0
WORKDIR /app
COPY --from=build /app .
EXPOSE 8000
ENTRYPOINT ["dotnet", "TodoApi.dll"]
9 changes: 1 addition & 8 deletions appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,5 @@
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://localhost:8000"
}
}
}
"AllowedHosts": "*"
}

0 comments on commit f70fe0b

Please sign in to comment.