Web-Dev/nodeJS/Learning/07/app/docker-compose.yaml
2025-01-03 17:45:23 +00:00

17 lines
275 B
YAML

services:
web:
build: .
ports:
- "3000:3000"
# files are put in here
volumes:
- .:/usr/src/app
- ./node_modules:/usr/src/app/node_modules
command: ["yarn", "dev"]
cms:
build:
context: ../cms
ports:
- "1337:1337"