forked from fullstackhero/dotnet-microservices-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
29 lines (21 loc) · 1.39 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
BUILD_CONFIGURATION := Release
gateway:
echo "running dotnet publish.."
cd ./projects/fluentpos-lite/src/api-gateway/Gateway && dotnet publish --os linux --arch x64 -c $(BUILD_CONFIGURATION) /p:PublishProfile=DefaultContainer /p:ContainerImageTags=latest --self-contained
identity:
echo "running dotnet publish.."
cd ./projects/fluentpos-lite/src/identity-server/Host && dotnet publish --os linux --arch x64 -c $(BUILD_CONFIGURATION) /p:PublishProfile=DefaultContainer /p:ContainerImageTags=latest --self-contained
catalog:
echo "running dotnet publish.."
cd ./projects/fluentpos-lite/src/services/catalog/Host && dotnet publish --os linux --arch x64 -c $(BUILD_CONFIGURATION) /p:PublishProfile=DefaultContainer /p:ContainerImageTags=latest --self-contained
cart:
echo "running dotnet publish.."
cd ./projects/fluentpos-lite/src/services/cart/Host && dotnet publish --os linux --arch x64 -c $(BUILD_CONFIGURATION) /p:PublishProfile=DefaultContainer /p:ContainerImageTags=latest --self-contained
infra:
cd ./projects/fluentpos-lite/deployments/docker-compose && docker-compose -f infrastructure.yml up -d
services:
cd ./projects/fluentpos-lite/deployments/docker-compose && docker-compose -f docker-compose.yml up -d
all:
cd ./projects/fluentpos-lite/deployments/docker-compose && docker-compose -f infrastructure.yml -f docker-compose.yml up -d
tye:
cd ./projects/fluentpos-lite/deployments/tye && tye run