version: "3.8" services: app: build: context: . dockerfile: Dockerfile.base args: PORT_DEFAULT: ${PORT:-3000} ENABLE_DEBUG_DEFAULT: ${ENABLE_DEBUG:-false} ports: - "${PORT:-3000}:3000" - "9229:9229" # Expose debug port if needed volumes: - .:/usr/src/app - /usr/src/app/node_modules environment: - NODE_ENV=development - PORT=${PORT:-3000} - ENABLE_DEBUG=${ENABLE_DEBUG:-false}