You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
337 B

  1. #!/bin/sh
  2. #dotnet restore
  3. rm -rf ./pub
  4. dotnet publish "$(pwd)/src/Services/Catalog/Catalog.API/project.json" -o "$(pwd)/pub/catalog"
  5. dotnet publish "$(pwd)/src/Web/Microsoft.eShopOnContainers.WebMVC/project.json" -o "$(pwd)/pub/webMVC"
  6. docker build -t eshop/web "$(pwd)/pub/webMVC"
  7. docker build -t eshop/catalog.api "$(pwd)/pub/catalog"