FEAT: compose-dev-with-front uses Dockerfile-dev and another front Dockerfile
This commit is contained in:
parent
a38e852b15
commit
4db81c8bf0
1 changed files with 6 additions and 2 deletions
|
@ -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:
|
||||
|
@ -17,7 +19,9 @@ services:
|
|||
- games-store-1
|
||||
|
||||
backend:
|
||||
build: .
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./Dockerfile-dev
|
||||
ports:
|
||||
- 3001:3001 # A porta da direita precisa ser igual a da variável PORT.
|
||||
depends_on:
|
||||
|
|
Loading…
Reference in a new issue