-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (19 loc) · 680 Bytes
/
Makefile
File metadata and controls
30 lines (19 loc) · 680 Bytes
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
bgremover-cli:
@go run main.go
server:
@go run ./http/server.go
example-cli:
@go run main.go -file=./examples/animal-1.jpg -out=./output/animal-1-out.jpg
##Dockerfile make commands
python-grpc-build:
@docker build -t python-grpc -f ./Dockerfiles/Dockerfile.python_grpc_server .
python-grpc-server:
@docker run -p 50051:50051 --name python-grpc-server python-grpc
python-protogen-build:
@docker build -t python-proto -f ./Dockerfiles/Dockerfile.pythonprotogen .
@docker create --name grpc-container python-proto
@docker cp grpc-container:/output/generated ./python
@echo python proto generated
##Gorelease make commands
release:
@goreleaser release --rm-dist