20 lines
505 B
Makefile
20 lines
505 B
Makefile
up: docker-up
|
|
down: docker-down
|
|
restart: docker-down docker-up
|
|
init: docker-down docker-pull docker-build docker-up assets-install
|
|
|
|
docker-up:
|
|
docker compose -f ./docker-compose.yml --compatibility up -d
|
|
|
|
docker-down:
|
|
docker compose -f ./docker-compose.yml down --remove-orphans
|
|
|
|
docker-pull:
|
|
docker compose -f ./docker-compose.yml pull
|
|
|
|
docker-build:
|
|
docker compose -f ./docker-compose.yml build
|
|
|
|
assets-install:
|
|
docker-compose run --rm node yarn install
|
|
docker-compose run --rm node yarn run build
|