owl-stream/docker-compose.yml
2024-10-26 20:00:25 -04:00

27 lines
539 B
YAML

services:
dev:
build:
args:
NODE_VERSION: '20'
context: .
target: dev
environment:
- NODE_ENV=development
- PORT=${DEV_PORT_1:-3000}
- BACKEND_PORT=${DEV_PORT_2:-5000}
ports:
- ${DEV_PORT_1:-3000}:3000
- ${DEV_PORT_2:-5000}:5000
- 9229:9229
volumes:
- ../:/app:cached
- node_modules:/app/node_modules
- npm-cache:/root/.npm
- ~/.gitconfig:/root/.gitconfig
- ~/.ssh:/root/.ssh
version: '3.8'
volumes:
node_modules: {}
npm-cache: {}
pip-cache: {}