docker-compose 파일 생성# docker-compose.yamlversion: '3.8'services: mongodb: image: mongo:latest container_name: mongodb restart: always ports: - '27017:27017' volumes: - ./data/db:/data/db environment: MONGO_INITDB_ROOT_USERNAME: root MONGO_INITDB_ROOT_PASSWORD: examplepackage.json에 실행 명령어 등록, 테스트"scripts": { "dev": "next dev", "build": "next build", ..