Get 35% Off CFI Certifications - Code CFI35
Gain a Splash of New Skills - Coursera+ Annual Nearly 45% Off
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to containerize a Next.js application using Docker and deploy it to a Virtual Private Server (VPS) in this comprehensive 16-minute tutorial. Master the complete deployment workflow starting with an overview of dockerizing applications and the benefits of using VPS with Docker. Follow along as you create a proper Dockerfile for your Next.js application, configure the containerization process, and optimize the build for production deployment. Discover how to push your containerized application to GitHub Container Registry (ghcr.io) for version control and distribution. Navigate through the VPS deployment process, including server setup and configuration requirements. Execute the final deployment steps using Docker run commands to get your application live on the server. Gain practical experience with modern deployment practices that streamline the process of getting Next.js applications from development to production environments.
Syllabus
00:00 Dockerizing apps & deploying overview
01:51 VPS + Docker
02:26 Dockerize Next.js app
08:03 Push to container registry ghcr.io
09:52 VPS deployment
13:44 Docker run
Taught by
ByteGrad