add configuration to use react-nginx sample with Docker Dev Environments feature (#269)

Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
This commit is contained in:
Guillaume Lours
2022-07-13 10:57:34 +02:00
committed by GitHub
parent e45810975f
commit 20089c790b
4 changed files with 40 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
services:
frontend:
build:
context: .
target: dev-envs
container_name: frontend
ports:
- "80:3000"
- "3000:3000"
volumes:
- /var/run/docker.sock:/var/run/docker.sock