Skip to content

Commit

Permalink
Expose port
Browse files Browse the repository at this point in the history
  • Loading branch information
jbi89 committed May 12, 2023
1 parent a103489 commit d9afe4d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ RUN dotnet publish -c Release -o /app
FROM mcr.microsoft.com/dotnet/aspnet:7.0
WORKDIR /app
COPY --from=build /app .
EXPOSE 5000
ENTRYPOINT ["dotnet", "TodoApi.dll"]
1 change: 0 additions & 1 deletion Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ public void ConfigureServices(IServiceCollection services)
{
services.AddAutoMapper(typeof(Startup));

// TODO Remove localhost
AmazonDynamoDBConfig clientConfig = new AmazonDynamoDBConfig();
clientConfig.RegionEndpoint = RegionEndpoint.USEast1;
AmazonDynamoDBClient client = new AmazonDynamoDBClient(clientConfig);
Expand Down

0 comments on commit d9afe4d

Please sign in to comment.