services: app: build: context: . dockerfile: Dockerfile.dev ports: - "5173:5173" volumes: - .:/app - /app/node_modules env_file: - .env environment: - CHOKIDAR_USEPOLLING=true api: image: node:22-alpine working_dir: /app ports: - "3001:3001" volumes: - ./api:/app - /app/node_modules env_file: - ./api/.env command: npx tsx --watch src/index.ts