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:
11
react-nginx/.docker/docker-compose.yaml
Executable file
11
react-nginx/.docker/docker-compose.yaml
Executable 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
|
||||
Reference in New Issue
Block a user