Skip to content

Latest commit

 

History

History
11 lines (11 loc) · 462 Bytes

README.md

File metadata and controls

11 lines (11 loc) · 462 Bytes

postgre-dotnetcore

Building a Simple App with PostgreSQL, ASP.NET Core and EF Core in Docker Build the image:

  • $ docker build -f dockerfile -t postgre-dotnetcore .
Start PostgreSQL and ASP.NET Core (link ASP.NET core to ProgreSQL container with legacy linking)
  • $ docker run -d --name my-postgres -e POSTGRES_PASSWORD=password postgres
  • $ docker run -d -p 5000:5000 --link my-postgres:postgres postgre-dotnetcore