Files
titan_react_node_sqllite/docker-compose.yml
T
2026-06-10 16:10:18 +05:30

19 lines
469 B
YAML

services:
web:
restart: always
build:
context: .
target: development
ports:
- "3000:3000"
volumes:
# Map the host source code to the container for hot-reloading
- .:/app
# Prevents the container's node_modules from being overwritten by the host
- /app/node_modules
environment:
- NODE_ENV=development
# Optional: ensure container runs smoothly on Windows host
stdin_open: true
tty: true