The Best Way To Deploy In 2024 (feat. Docker, Rust, and Language Models)

preview_player
Показать описание

We also take a look at the Docker init feature for kickstarting the process of creating a Docker image build.

Keyboards

Рекомендации по теме
Комментарии
Автор

I am so proud of your channel. I have been following since you started and I can see the massive progress! :D

bobfearnley
Автор

I DIDNT KNOW YOU COULD DO docker init and the Dockerfile is made for you. I WAS BANGING MY HEAD TRYNG TO FIGURE OUT WHY MY DOCKERFILE WASNT WORKING. THANKS SO MUYCN

johnapple
Автор

Nice video. Clever approach of using a specialized build image just for the tailwind stuff. Haven't thought about it and will use that for sure!
I'm currently learning rust and having a good time. Due to the interactive rustlings tutorial I get the same joy and flow as back in the days where I was learning scala with the official coursera course that had automated grading of the excercises

flwi
Автор

Loved the video. I know we don't often need scaling but it is good to see how to get it working.

rafaelgomes
Автор

Good video, but I think you should have intruduced it from the standpoint of using OCI containers and that docker is just one runtime, not that it is the tooling of choice. Containerising your applications so they can be run under any OCI runtime (kubernetes, podman, etc) is where the real value lies, not vendor lock-in to one platform.

sachaw
Автор

Great video! I noticed that the entire src directory and the package.json file are being copied over before executing npm install. A possible improvement could be to first copy only the package.json file, run npm install, and then copy the rest of the source code. This way, the installation step would be cached, making the build process more efficient, especially when changes are made to the src directory but the dependencies remain the same. After that, something similar could be done with npx tailwindcss, but I have to say that I am not sure about that

bayoneta
Автор

01:20 "docker init" requires docker desktop. Whilst it is free for many people you need to look at the license and make sure that you are not requiring your company to subscribe to professional license fees.

IcarusSparry
Автор

You can use alpine images to both speed up your build, runtime and as well as patch any CVE that gets published. Combined with Rust, the resulting docker image size will be 20+MB which is 7x smaller than the Debian based image.

Fwiw, Debian is pronounced Deb-Ian, not Dib-Ian. Ian Murdock created Debian in1993. The word "Debian" was formed as a portmanteau of the first name of his then-girlfriend (later ex-wife) Debra Lynn and his own first name.

a
Автор

Great video. I had just did the same thing recently on AWS with my Rust Docker. Would really liked to had know that 'Docker init' lol. As I struggled with my Mac M1 compiling to AMD64 and dealing with the AWS exec error I got haha. Its always a video after the fact. ;) But I have followed you for a while. Thanks for this new addition really helpful. Cheers.

malibuiconic
Автор

15:55 You said it's not blazingly fast but that looks pretty damn fast to me! Any recommendations what VM type you would run this on?

CodingWithLewis
Автор

Does rust backend app need crate or anything else for deployment?(some thing like gunicorn for python)

alidadgar
Автор

Wait your split keyboard is totally wireless. It looks awesome, do you have a review of it?

LwPressure
Автор

Woah hold on there moon boy! Now I may be super high, but I have enough on my plate coding and speedrunning ruby with my personal project and website. 😂 But I will watch your video because I love you❤
Take it easy, I just like the whale. I do not want to ride the whale yet. 😂 _I admit though deploying to docker is my preferred solution of choice_
(But after Ruby is Nim and Haxe, I know strange order but I rolled 20 languages in 3 ‘random’ lists. I picked 20 and thought they looked pretty and plucked them randomly and going with it.)


Go was on the first list. But I have it fourth. And I am in ‘no’ rush until I hit week 4. I am scripting high after all 👌

twenty-fifth
Автор

Wait, wait, do you have a glove 80 gathering dust in a shelf??? Why?

Danielo
Автор

Great video as always . it seems u updated doom emacs and did not run nerd font install (thats why your modeline looks like crap) . Love u!

nicklam
Автор

It's not d-bian it's flipping DEB-IAN 😭😭

great vid btw

Sahil-a-vim-user
Автор

ecs does not scale to zero, right? Adds up for lots of side projects.. From the title of the video I expected a deployment guide, not docker..

Hacking-Kitten
Автор

Appreciate the multi-stage builds, but your Dockerfile seems like a junk drawer to me. This is a "God" image that is completely unfocused and not easy to maintain. Consider breaking these up into separate Dockerfiles instead.

imichael.
Автор

Seriously docker sucks. It's great that containerization was popularized, but docker sucks.

ostrava_
Автор

I hate these types of video. 99% of use cases do not need any scaling, and a single AWS instance will be able to handle everything. If your app somehow ends up actually needing scaling, you'll be making well enough money to do so at that time.

wgolyoko