diff --git a/Makefile b/Makefile index 2ad6032ee8..bfb809dfce 100644 --- a/Makefile +++ b/Makefile @@ -53,7 +53,11 @@ up: # creates a docker network and runs docker-compose @echo "🥫 Building and starting containers …" docker network create po_default || true +ifdef service + ${DOCKER_COMPOSE} up -d --build ${service} 2>&1 +else ${DOCKER_COMPOSE} up -d --build 2>&1 +endif down: @echo "🥫 Bringing down containers …" @@ -64,7 +68,7 @@ hdown: ${DOCKER_COMPOSE} down -v restart: - @echo "🥫 Restarting frontend & backend containers …" + @echo "🥫 Restarting containers …" ${DOCKER_COMPOSE} restart status: