16 lines
240 B
Makefile
16 lines
240 B
Makefile
container_name=nextjs-components-project:latest
|
|
|
|
.PHONY: start
|
|
start:
|
|
docker compose up -d --build
|
|
|
|
.PHONY: stop
|
|
stop:
|
|
docker compose rm -v --force --stop
|
|
docker image rm $(container_name)
|
|
|
|
.PHNY: restart
|
|
restart:
|
|
make stop
|
|
make start
|