services:
  nextjs-app:
    image: node:20
    working_dir: /app
    volumes:
      - ./:/app
    command: sh -c "npm install && npm run build && npm run start"
    ports:
      - "3003:3000"
    restart: unless-stopped