Next.js deployed with Docker. Does it make sense?

Поделиться
HTML-код
  • Опубликовано: 9 сен 2024

Комментарии • 43

  • @pradumnasaraf
    @pradumnasaraf 9 месяцев назад +5

    Awesome awesome video. I agree with you. If you have multiple services, then Docker makes more sense with Next.js. But, Docker will be super helpful if you are developing a Next.js app locally.
    Also, thank you for using and featuring the Livecycle Docker Extension.

    • @francescociulla
      @francescociulla  9 месяцев назад +2

      Maybe it's not the last time we see livecycle on my channel 👀

    • @pradumnasaraf
      @pradumnasaraf 9 месяцев назад +2

      @@francescociulla I really really wish!

  • @Arsy1999
    @Arsy1999 4 месяца назад +1

    brilliant video, well explained and a unique way of presenting this material!

  • @ramdasvk0716
    @ramdasvk0716 9 месяцев назад +2

    Docker crash course was simply wow. Keep up the good work m, Francesco🔥

  • @SauravPant
    @SauravPant 9 месяцев назад +2

    Amazing Video, Thanks Francesco

  • @getlivecycle
    @getlivecycle 9 месяцев назад +2

    Thanks for the shout out, Francesco 🙏

  • @eddiejaoude
    @eddiejaoude 9 месяцев назад +2

    Great technologies and video!

  • @SavaScript
    @SavaScript 9 месяцев назад +2

    One thing I tend to do is install NextJS and create my NextJS app *within a Docker container*, instead of within the host. This way I can create my app without installing NodeJS on my host machine.
    Also, spot the cameo at 2:22 😅

    • @francescociulla
      @francescociulla  9 месяцев назад +2

      interesting, you should create content about this! and wow I didn't even notice it ahah

    • @SavaScript
      @SavaScript 9 месяцев назад +2

      @@francescociulla Not a bad idea 🤔

    • @francescociulla
      @francescociulla  9 месяцев назад +1

      @@SavaScript commenting while on a space, that's what I like good multitasking!

  • @alexdin1565
    @alexdin1565 5 месяцев назад +1

    This video doesn't have the quantity of likes that deserve.

    • @francescociulla
      @francescociulla  5 месяцев назад

      it's ok eheh! but I hope you left one!

  • @rajneeshhtml1
    @rajneeshhtml1 9 месяцев назад +2

    Thanks for sharing❤

    • @francescociulla
      @francescociulla  9 месяцев назад +2

      Wow welcome back Rajneesh, where have you been

    • @rajneeshhtml1
      @rajneeshhtml1 9 месяцев назад +1

      @@francescociulla I was busy in my test and practicals. Now, I'm back ❤‍🔥❤‍🔥

    • @francescociulla
      @francescociulla  9 месяцев назад +2

      @@rajneeshhtml1 i see, check some of the latest videos and let me know

    • @rajneeshhtml1
      @rajneeshhtml1 9 месяцев назад +2

      @@francescociulla yeah definitely fran ⭐. I wanna do a collaboration with you on my RUclips channel.

    • @francescociulla
      @francescociulla  9 месяцев назад +2

      @@rajneeshhtml1 let's do it, we can make it a 4c community event, wdyt?

  • @piotrprs572
    @piotrprs572 9 месяцев назад +3

    Watching this clip I get strong urge to learn Italian language. 😀 Even English sound much better with this Italian accent. 😀

    • @francescociulla
      @francescociulla  9 месяцев назад +2

      I try to hide it but it seems impossible 😂

    • @abbylynn8872
      @abbylynn8872 9 месяцев назад +2

      ​@@francescociullaDon't hide it💕

    • @francescociulla
      @francescociulla  9 месяцев назад +1

      @@abbylynn8872 ahaha

  • @johnaroj
    @johnaroj 7 месяцев назад +1

    very awesome tutorial. can you explain why we use ouput:standalone in the docker?

    • @francescociulla
      @francescociulla  6 месяцев назад +2

      because it's a next.js app. it has nothing t do with docker directly, it's when you want to deploy a next.js app without vercel

  • @francescociulla
    @francescociulla  9 месяцев назад +3

    find Francesco: francescociulla.com
    0:00 intro
    1:05 Next.js app
    2:22 Dockerize a NExt.js application
    11:15 Push the image on Docker hub
    14:00 Does it make sense? Considerations
    15:55 LiveCycle extension test
    17:52: Final considerations

  • @zoki5388
    @zoki5388 9 месяцев назад +1

    Hey Francesco, you have maybe forgot to push docker related files to your repo. I have sent you an email about my docker and nextjs issue.

    • @francescociulla
      @francescociulla  9 месяцев назад

      thank you zoki for taking the time to write this comment, yes it was not updated, thank you!

  • @undercontr
    @undercontr 8 месяцев назад

    if you have a dependent service in your docker compose like your nextjs app dependent to strapi or medusa in another service, nextjs app doesn't buid :/ i know how to opt out from SSG in pages router but app router is a bit complex.

    • @francescociulla
      @francescociulla  7 месяцев назад

      I agree, that's more complex and the goal her eis just to dockerize a simple nextjs project, but you cna always use vercel and at asome point you'll be kinda forced, I think

    • @undercontr
      @undercontr 7 месяцев назад +1

      @@francescociulla yeah. And when you build nextjs app with static generation, other service have to be up. Vercel looks like a great option

    • @francescociulla
      @francescociulla  7 месяцев назад

      @@undercontr well its their paid option so I aould be surprised by tje contrary