mirror of
https://github.com/AudebertAdrien/ft_transcendence.git
synced 2026-11-09 17:37:08 +01:00
merge avec adrien
This commit is contained in:
6
makefile
6
makefile
@@ -2,9 +2,11 @@ COMPOSE_FILE=docker-compose.yml
|
||||
COMPOSE=docker compose -f $(COMPOSE_FILE)
|
||||
CONTAINER=$(c)
|
||||
|
||||
.PHONY: up build start stop down destroy logs ps db-shell help
|
||||
|
||||
up:
|
||||
$(COMPOSE) build
|
||||
$(COMPOSE) up
|
||||
$(COMPOSE) up $(CONTAINER) || true
|
||||
|
||||
build:
|
||||
$(COMPOSE) build $(CONTAINER)
|
||||
@@ -42,7 +44,7 @@ help:
|
||||
@echo " make down [c=service] # Stop and remove containers"
|
||||
@echo " make destroy # Stop and remove containers and volumes"
|
||||
@echo " make stop [c=service] # Stop containers"
|
||||
@echo " make restart [c=service] # Restart containers"
|
||||
@echo " make logs [c=service] # Tail logs of containers"
|
||||
@echo " make ps # List containers"
|
||||
@echo " make help # Show this help"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user