From e37e7165f8fc817920c646f0940cdc293399f608 Mon Sep 17 00:00:00 2001 From: Michel Pereira Date: Wed, 25 Jan 2023 14:30:37 -0300 Subject: [PATCH] FEAT: Better adapt compose-with-front.yml to frontend --- compose-with-front.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/compose-with-front.yml b/compose-with-front.yml index 1ddfb03..e44be20 100644 --- a/compose-with-front.yml +++ b/compose-with-front.yml @@ -1,7 +1,9 @@ services: frontend: - build: ../games-store-front + build: + context: ../games-store-front + dockerfile: ../games-store-front/Dockerfile-with-back ports: - 3000:3000 depends_on: @@ -9,6 +11,7 @@ services: environment: - REACT_APP_API_HOST=backend - REACT_APP_API_PORT=3001 + - REACT_APP_WITH_BACK=true - BROWSER=none networks: - games-store-1