Dockerize Next.js & Deploy to VPS (EASY!)
#Hivelocity #VPS #VPShosting #ad #collaboration
Get one month of VPS FREE at https://hivelocityinc.net/3SfVjnB. Use code BYTEGRAD1 at checkout. Learn more about Hivelocityβs VPS: https://hivelocityinc.net/3s3OcUF
Disclaimer: this is a sponsored video (paid). It’s your responsibility to evaluate safety, accuracy and other relevant parts of the reviewed product.
π NEW React & Next.js Course: https://bytegrad.com/courses/professional-react-nextjs
Hi, I’m Wesley. I’m a brand ambassador for Kinde (paid sponsorship).
π Add auth to your app FAST: https://bit.ly/3QOe1Bh
π NEW React & Next.js Course: https://bytegrad.com/courses/professional-react-nextjs
π Professional JavaScript Course: https://bytegrad.com/courses/professional-javascript
π Professional CSS Course: https://bytegrad.com/courses/professional-css
π Web development roadmap 2024 & 2025: https://email.bytegrad.com
π Email newsletter (BIG update soon): https://email.bytegrad.com
π Discord: all my courses have a private Discord where I actively participate
π Kinde: check out Kinde for auth and more https://bit.ly/3QOe1Bh
β±οΈ Timestamps:
00:00 Next.js example overview
01:18 Hosting with Docker is easier than without
01:32 Preparation
02:20 Dockerize Next.js (simple example)
06:45 Dockerize Next.js (better)
08:25 VPS
09:07 GitHub container registry
11:02 Build for AMD64
12:50 Change name / tag of image
14:03 Docker on VPS setup
17:58 Dockerized Next.js on VPS!!
#webdevelopment #programming #coding #reactjs #nextjs
Note that my videos may contain mistakes. Always verify yourself that your code is safe and does what you want it to do for your specific situation. You agree by watching the videos that you are solely responsible for any mistakes in your code.
This channel and all its content is owned & operated by ByteGrad Sp. z o.o. with Tax ID: PL6762676561