This is a Next.js project bootstrapped with create-next-app
.
This project is configured for elastic beanstalk deployment with swap space, custom nginx configuration and fix for sharp and other native packages.
First, run the development server:
npm run dev
# or
yarn dev
Run package.sh
and upload app.zip to your elastic beanstalk environment
Entire process is documented in Configure Next.js nginx and elastic beanstalk.