🧑‍💻(nginx) add nginx-frontend

To test easily a build application with nginx,
we add a nginx-frontend to serve the static files
of the application, it will help us to test the
application in a more production-like environment.
This commit is contained in:
Anthony LC
2026-03-30 16:13:10 +02:00
parent 53c51a3cca
commit cd882c8f70
2 changed files with 16 additions and 0 deletions

View File

@@ -214,6 +214,10 @@ build-e2e: ## build the e2e container
@$(COMPOSE_E2E) build y-provider $(cache)
.PHONY: build-e2e
nginx-frontend: ## build the nginx-frontend container
@$(COMPOSE) up --force-recreate -d nginx-frontend
.PHONY: nginx-frontend
down: ## stop and remove containers, networks, images, and volumes
@$(COMPOSE_E2E) down
.PHONY: down