# 로컬 개발 (hot reload)
# 사용: docker compose -f docker-compose.dev.yml up --build
services:
  plm-fito-next-dev:
    build:
      context: .
      dockerfile: Dockerfile.dev
    container_name: plm-fito-next-dev
    ports:
      - "3643:3000"
    env_file:
      - .env.development
    volumes:
      - ./src:/app/src
      - ./public:/app/public
      - ./prisma:/app/prisma
      - ./next.config.ts:/app/next.config.ts
      - ./tsconfig.json:/app/tsconfig.json
      - ./package.json:/app/package.json
      - plm-fito-next-data:/data_storage
    restart: unless-stopped

volumes:
  plm-fito-next-data:
