add configuration to use django sample with Docker Dev Environments feature (#252)
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>pull/270/head
parent
34115dcd3c
commit
f716bfb382
@ -0,0 +1,9 @@ |
|||||||
|
services: |
||||||
|
web: |
||||||
|
build: |
||||||
|
context: app |
||||||
|
target: dev-envs |
||||||
|
ports: |
||||||
|
- '8000:8000' |
||||||
|
volumes: |
||||||
|
- /var/run/docker.sock:/var/run/docker.sock |
@ -1,5 +1,7 @@ |
|||||||
services: |
services: |
||||||
web: |
web: |
||||||
build: app |
build: |
||||||
|
context: app |
||||||
|
target: builder |
||||||
ports: |
ports: |
||||||
- '8000:8000' |
- '8000:8000' |
||||||
|
Loading…
Reference in new issue