Launch a New Career with Certificates from Google, IBM & Microsoft
The Fastest Way to Become a Backend Developer Online
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
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