blob: 5a32a7e4af1809f37786fd36a6385c1db00014c4 [file] [log] [blame]
IMAGE_NAME:=xosproject/syndicate-ms
CONTAINER_NAME:=xos-syndicate-ms
NO_DOCKER_CACHE?=true
.PHONY: build
build: ; docker build --no-cache=${NO_DOCKER_CACHE} --rm -t ${IMAGE_NAME} .
.PHONY: run
run: ; docker run -d -p 8080:8080 --name ${CONTAINER_NAME} ${IMAGE_NAME}
.PHONY: stop
stop: ; docker stop ${CONTAINER_NAME}
.PHONY: rm
rm: ; docker rm ${CONTAINER_NAME}
.PHONY: rmi
rmi: ; docker rmi ${IMAGE_NAME}