From 4d4bf65c0cce52bb0504e8921830912b80849921 Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Sat, 17 Aug 2024 11:51:32 +0200 Subject: [PATCH] Ajout d'un restart --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index ddcc02d..d7a03fd 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,7 @@ make build-dev Build and run dev environment make stop-dev Stop dev environment make stop-prod Stop prod environment make build-prod Build and run prod environment +make restar-prod Restart prod environment make all Show help endef @@ -75,6 +76,9 @@ stop-prod: restart-backend-prod: docker-compose -f docker-compose.prod.yml restart backend +prod-restart: + DOCKER_BUILDKIT=1 COMPOSE_DOCKER_CLI_BUILD=1 docker-compose -f docker-compose.prod.yml restart + all: help .PHONY: help lint format test super-user make-migrations migrate build-dev build-prod stop-dev stop-prod all