mirror of
https://github.com/suitenumerique/docs.git
synced 2026-04-25 17:15:01 +02:00
🧑💻(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:
4
Makefile
4
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user