diff --git a/Makefile b/Makefile index fd1d10b0..40391fff 100644 --- a/Makefile +++ b/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 diff --git a/compose.yml b/compose.yml index c1d5be85..ce5024a6 100644 --- a/compose.yml +++ b/compose.yml @@ -129,6 +129,18 @@ services: condition: service_healthy restart: true + nginx-frontend: + image: nginx:1.25 + ports: + - "3000:3000" + volumes: + - ./src/frontend/apps/impress/conf/default.conf:/etc/nginx/conf.d/impress.conf + - ./src/frontend/apps/impress/out:/app + depends_on: + keycloak: + condition: service_healthy + restart: true + frontend-development: user: "${DOCKER_USER:-1000}" build: