18 lines
246 B
Makefile
18 lines
246 B
Makefile
NAME = exemplo
|
|
VERSION = 0.0.1
|
|
|
|
.PHONY: all build run push
|
|
|
|
all: build
|
|
|
|
build:
|
|
docker build -t $(NAME):$(VERSION) .
|
|
|
|
run:
|
|
docker run -p 8088:8080 --name exemplo $(NAME):$(VERSION)
|
|
|
|
clean:
|
|
docker rm exemplo
|
|
docker rmi exemplo:0.0.1
|
|
rm ./main
|