dailycheckin/docker/Makefile

22 lines
523 B
Makefile
Raw Normal View History

.PHONY: build up stop pull logs down exec buildx pushx
buildx:
docker buildx build --platform=linux/arm/v6,linux/arm/v7,linux/arm64,linux/amd64 -t sitoi/dailycheckin:latest .
pushx:
docker buildx build --platform=linux/arm/v6,linux/arm/v7,linux/arm64,linux/amd64 -t sitoi/dailycheckin:latest . --push
2020-12-12 09:47:32 +08:00
build:
docker-compose build --no-cache
up:
docker-compose up -d
stop:
docker-compose stop
2020-12-15 13:17:45 +08:00
down:
docker-compose down
2020-12-12 09:47:32 +08:00
pull:
docker-compose pull
logs:
docker-compose logs -f
exec:
docker exec -it dailycheckin sh