exemplo-imaxes-docker-minimas/Makefile
2023-09-05 09:43:11 +02:00

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