Added dev environment for docker

This commit is contained in:
cami 2021-05-11 02:03:32 +02:00
parent ea6497d7e3
commit 6ad07d2541
5 changed files with 50 additions and 16 deletions

View file

@ -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

View file

@ -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