micrograd/Makefile

17 lines
251 B
Makefile

NAME=micrograd
DOCKER=podman
PORT=8008
.PHONY=build run stop
all: stop rm build run
stop:
${DOCKER} stop ${NAME}
rm:
${DOCKER} rm ${NAME}
run:
${DOCKER} run -p ${PORT}:${PORT} -d --name ${NAME} -t ${NAME}
build:
${DOCKER} build . --tag ${NAME}