java-tutorials/docker-modules/docker-compose/exclude-subfolders/docker-compose.yml

12 lines
163 B
YAML

services:
node-app:
build: .
ports:
- 8080:8080
volumes:
- .:/app
- my-vol:/app/node_modules/
volumes:
my-vol:
driver: local