Dockerize Your .NET Application in 5 Minutes!

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

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

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

    Maybe I am outdated on this, but since we have a dedicated step for "dotnet restore", shouldn't we use the "--no-restore" option in the build and publish command, to disable the implicit restore?

    • @matiascasag
      @matiascasag 6 месяцев назад

      Yeap and i think he could use the Alpine Versions of dotnet to get a smaller binary

    • @vasiliyfofanov2605
      @vasiliyfofanov2605 Месяц назад

      And for the "dotnet publish" we probably need to add "--no-build"

    • @jalaanchal
      @jalaanchal 19 дней назад

      I feel that the build command is not even needed since publish command also builds the project. We can just remove the build command and add the --no-restore flag to the publish command.

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

    Superbly explained.
    Crystal clear clarity...!!!
    Just one request, can you please give a sequence number to each video for this playlist.
    So that I can watch it with ease sequentially.
    Thanks!

  • @andersjuul8310
    @andersjuul8310 6 месяцев назад

    Lovely, very condensed video! I love to get a better understanding of the things done for me "automatically". Things that are scaffolded for us are often hard to progress from. This helps. Thanks.

  • @HackerUC
    @HackerUC 6 месяцев назад

    Thanks for clearly explaining the Dockerfile. I dockerized an API not too long ago, but I let Rider create the Dockerfile. Your video explained some things I didn't fully understand in the Dockerfile

  • @ricardoribeiro4560
    @ricardoribeiro4560 6 месяцев назад +9

    Hi, love the videos, can you add to the title the part number? so we can have an order to search later.

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

      The order in the playlist should be correct. I'm reluctant to add the series number as part of the title since series perform worse on youtube than standalone videos

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

      @@amantinband agree no problem

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

    Hi @Amichai will you ever do a DAPR content?

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

    Thanks ❤ for the video.
    Also request.. we need more videos on docker with .net distributed architecture. 🎉

  • @dzllz
    @dzllz 6 месяцев назад +1

    Very cool! My app runs on an EC2 aws instance and relies on local storage on that instance for storing images etc.
    What would be the next step for me to dockerize? Outsource the storage to AWS S3?

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

      I’ll be covering one possible solution in next week's video: The Better Way To Use Docker
      ruclips.net/video/JiJeZOHx0ow/видео.html

  • @DaminGamerMC
    @DaminGamerMC 6 месяцев назад +3

    there is a lot there that i dont know like what is `FROM build as publish`

  • @mnursat
    @mnursat 6 месяцев назад +1

    Awesome! Really simple explanation

  • @sudeolmez5480
    @sudeolmez5480 6 месяцев назад

    Hi! Thank you for this great explanation, however I am having an issue about connecting Mongodb with dotnet on docker. I keep getting an error of 500 although I think I added them all to compose-yml file properly. It really would be great that if you can take a video about it. Thanks again!!!

  • @marcusalves7
    @marcusalves7 6 месяцев назад

    great video, would've loved to see also with multiple projects and running migrations

  • @ArunKumar-y1d5v
    @ArunKumar-y1d5v 6 месяцев назад +1

    Do I need to modify the restoration process because I have multiple layers in my project?

    • @amantinband
      @amantinband  6 месяцев назад +1

      Assuming you meant multiple projects - yes. Here’s an example: github.com/amantinband/clean-architecture/blob/main/Dockerfile

  • @ivandrofly
    @ivandrofly 6 месяцев назад

    Thanks for the video - Rider IDE as support to generate docker file for your project very easily actually
    but it's always good to know how to do it manually though

  • @jrguedes
    @jrguedes Месяц назад

    Great video!

  • @xardasu3646
    @xardasu3646 6 месяцев назад

    Will hot reload works in this docker configuration ?.

  • @floriandraxler3868
    @floriandraxler3868 4 месяца назад

    is that video speed up a little or do you have some sort of voice adjustment going on?

  • @camcommute
    @camcommute 10 дней назад

    if your csproj file didnt change then docker is going to use the cached and not run dotnet restore again. therefore, 2 stage is fine

  • @pilotboba
    @pilotboba 6 месяцев назад

    Doesn't .Net 8 support building docker containers with MS build without using a dockerfile? I'm surprised you are showing dockerfile use here.