restructure repo, separate sample app from docker configs
This commit is contained in:
12
06-building-container-images/client-react/Makefile
Normal file
12
06-building-container-images/client-react/Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
API_NODE_PATH:=../../05-example-web-application/api-node/
|
||||
|
||||
N?=0
|
||||
.PHONY: build-N
|
||||
build-N:
|
||||
docker build --file ./Dockerfile.$(N) -t api-node:$(N) ${API_NODE_PATH}
|
||||
|
||||
.PHONY: build-all
|
||||
build-all:
|
||||
for number in 0 1 2 3 ; do \
|
||||
N=$$number $(MAKE) build-N; \
|
||||
done
|
||||
Reference in New Issue
Block a user