Session 09 - Lesson 03 - Viết Dockerfile dạng Multi-stage build
Rikkei Education · 1,091 words · 5 min read · EN

Below is the complete, readable transcript of Session 09 - Lesson 03 - Viết Dockerfile dạng Multi-stage build by Rikkei Education on YouTube. Read the full text, copy any part you need, or generate a transcript for any video with our free tool.
[Music]
In lesson 3, we will learn how to write multibil Docker files . First, regarding the multibil principle, we'll have a first stay with all the necessary tools so that the translation team only receives the exact output file for the final image. So, generally speaking, it's similar to the previous lesson. We'll separate it into two
states: build and runtime. The build or runtime command includes this command, right? For stage 1, we can use JDK, Radical, and the built-in code bin to compile the build.lip.app.za file. That's a build set/lip set app. This. Next, we'll copy that build file over to the `stay high` file, which is the runtime. Just pick out the correct
file. So, in the runtime section, you'll find the app partition . That's a non-root user. This is the image that was uploaded to the registries. That build tool is gone, the attack surface is smaller, the boot load is faster, those are some of the benefits when we split it into multiple stays, huh?
[clears throat] Now, an example of a multi- stay in string boot. Basically, it's the same example as before, but we'll split it into two stays. If we build it, let's work, dear. Copy it. See? Here's the run command. That's it for the copy x command. That's it, clean build n done. In stage 2,
we'll start with the `work dif` folder. Okay, for stage 1, we 'll start from the Work folder and build it. It's in the Bill folder. The second folder, located in Word, is called "Dear," and it's an app . So, how do we copy that file from the folder starting from the builder step? That's the
Transcribe another video
Paste any YouTube, Instagram or TikTok link to get a free transcript.