Deploy Next.js Applications
Prerequisites
- Next.js application in a Git repository
- HCS account with Applications access
- Domain name (optional)
Deployment Steps
-
Login to HCS Dashboard
-
Create New Application
- Click “Create New Application”
- Select “Next.js” as your application type
- Connect your Git repository
-
Configure Build Settings
- Set Build Pack to
nixpacks
- Set Node Environment to
production
- Enable “Static Site” option
- Set Output Directory to
out
- Set Build Pack to
-
Deploy Your Application
- Click “Deploy” to start the build process
- Wait for build and deployment to complete