Added dev environment for docker
This commit is contained in:
parent
ea6497d7e3
commit
6ad07d2541
5 changed files with 50 additions and 16 deletions
|
@ -1,10 +0,0 @@
|
|||
version: '3.7'
|
||||
|
||||
services:
|
||||
hello-world-prod:
|
||||
container_name: hello_world_cl_prod
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.prod
|
||||
ports:
|
||||
- 8877:80
|
|
@ -1,15 +0,0 @@
|
|||
version: '3.7'
|
||||
|
||||
services:
|
||||
hello-dev:
|
||||
container_name: hello_world_client
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- '.:/app:z'
|
||||
- '/app/node_modules'
|
||||
ports:
|
||||
- 3000:3000
|
||||
environment:
|
||||
- CHOKIDAR_USEPOLLING=true
|
Loading…
Add table
Add a link
Reference in a new issue