Updated build.sh so it also builds the eshop/ordering.api Docker Image
This commit is contained in:
parent
7a0e4ab7f0
commit
4da23ad259
6
build.sh
6
build.sh
@ -1,8 +1,10 @@
|
||||
#!/bin/sh
|
||||
#dotnet restore
|
||||
rm -rf ./pub
|
||||
dotnet publish "$(pwd)/src/Services/Catalog/Catalog.API/project.json" -o "$(pwd)/pub/catalog"
|
||||
dotnet publish "$(pwd)/src/Web/Microsoft.eShopOnContainers.WebMVC/project.json" -o "$(pwd)/pub/webMVC"
|
||||
dotnet publish "$(pwd)/src/Services/Catalog/Catalog.API/project.json" -o "$(pwd)/pub/catalog"
|
||||
dotnet publish "$(pwd)/src/Services/Ordering/Ordering.API/project.json" -o "$(pwd)/pub/ordering"
|
||||
|
||||
docker build -t eshop/web "$(pwd)/pub/webMVC"
|
||||
docker build -t eshop/catalog.api "$(pwd)/pub/catalog"
|
||||
docker build -t eshop/catalog.api "$(pwd)/pub/catalog"
|
||||
docker build -t eshop/ordering.api "$(pwd)/pub/ordering"
|
Loading…
x
Reference in New Issue
Block a user