Use Yarn to create a TypeScript Next.js application that will build and run in Docker using a two-stage container.