Angular7 with docker | creating Dockefile

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ธ.ค. 2024

ความคิดเห็น • 38

  • @johnhatami4752
    @johnhatami4752 4 ปีที่แล้ว +1

    fantastic video!!! it helped me a lot to understand docker. please keep them coming...

  • @jatinpoddar
    @jatinpoddar 4 ปีที่แล้ว +1

    Very good explanation with perfect example. :)

  • @zaheer-alam
    @zaheer-alam 5 ปีที่แล้ว +1

    Nice and simple tutorial.
    btw I really enjoyed the way you paused when your commands threw error and you corrected it, was really funny.

  • @quick_techie
    @quick_techie 4 ปีที่แล้ว +1

    Thanks man !! You saved my day !!

  • @pravinkumbhar7464
    @pravinkumbhar7464 4 ปีที่แล้ว +1

    great explanation

  • @СергейРябов-ю5н
    @СергейРябов-ю5н 2 ปีที่แล้ว

    Hello. Thanks for the video.
    What's best practice for using docker and CI? I mean should we install dependencies, compile project in CI and after that wrap dist in docker container or we should do build steps in docker?

  • @poonammahajan1555
    @poonammahajan1555 4 ปีที่แล้ว

    Where i can see my created images ?And can i change the path to store it

  • @anandpari24
    @anandpari24 5 ปีที่แล้ว +1

    Awesome man.

  • @frazko
    @frazko 5 ปีที่แล้ว +2

    what shoud I do if I want to update my code and see updates? any way to make it automatically? thx

    • @BlackBoxTech
      @BlackBoxTech  5 ปีที่แล้ว +1

      Hi Francisco. Good question. My second video will be exactly on the same subject. I will publish in this weekend. It will be a complete series of docker so please keep watching.

    • @BlackBoxTech
      @BlackBoxTech  5 ปีที่แล้ว +1

      Hi please check the latest video. It's exactly what you are looking for

    • @frazko
      @frazko 5 ปีที่แล้ว

      BlackBox Tech will do .. thanks 🙏

  • @playbookapp3231
    @playbookapp3231 4 ปีที่แล้ว

    When you say copying from build-step what does the build step means?

    • @BlackBoxTech
      @BlackBoxTech  4 ปีที่แล้ว

      It means when the application is building using webpack

  • @prathmeshsawant4289
    @prathmeshsawant4289 2 ปีที่แล้ว

    Hi can we run image on aks pod with target port 8080 for security context
    Can you please make video for angular deployment on aks pod

  • @anonyuser1008
    @anonyuser1008 4 ปีที่แล้ว

    For me it is running nginx
    Welcome to nginx!
    I tried in different browsers also with clear chache but no luck... :(
    I also check files inside container " /user/share/html" all expected angular dist files are there.
    No idea what is wrong, did anyone got resolved this ??

  • @pankajupadhyay8775
    @pankajupadhyay8775 4 ปีที่แล้ว +1

    I have also tried the same thing but when i hit localhost:4200 as i have mapped that port, I am getting Welcome to NGINX! page. Someone please help me with this?

    • @JaroslavLoutocky
      @JaroslavLoutocky 4 ปีที่แล้ว

      The same.

    • @pankajupadhyay8775
      @pankajupadhyay8775 4 ปีที่แล้ว

      @@JaroslavLoutocky my issue is resolved i just changed the browser from firefox to chrome and it worked for me

    • @JaroslavLoutocky
      @JaroslavLoutocky 4 ปีที่แล้ว

      @@pankajupadhyay8775 No way! Safari, firefox is all the time the same. Dont know why I see welcome nginx page instead of angular app. :/

    • @BlackBoxTech
      @BlackBoxTech  4 ปีที่แล้ว

      Have you tried going inside nginx and check the files are there in the folder

    • @anonyuser1008
      @anonyuser1008 4 ปีที่แล้ว

      I am also getting the same,
      I tried in different browsers also with clear chache but no luck... :(
      I also check files inside container " /user/share/html" all expected angular dist files are there.
      No idea what is wrong, did anyone got resolved this ??

  • @tushar1439
    @tushar1439 4 ปีที่แล้ว

    can you please help in creating this container using non root user.I am following your video and able to create docker image.But now we have to create docker containers using non root users.Thats the guidance from docker.So please help in creating that.

  • @VijayPatil-cd6oz
    @VijayPatil-cd6oz 4 ปีที่แล้ว

    Hi, First thanks for such great tutorial
    can u help me on ng build --base-href /app/
    once i'm tried but my angular routing not work

  • @chamzrush6627
    @chamzrush6627 4 ปีที่แล้ว

    ‘touch Dockerfile’ this command gives an error? Any ideas?

    • @valikonen
      @valikonen 4 ปีที่แล้ว

      use git bash

  • @80amnesia
    @80amnesia 5 ปีที่แล้ว

    how come you're not installing an os in the docker image? I see that you've install node and nginx (webserver) but no os..

    • @BlackBoxTech
      @BlackBoxTech  5 ปีที่แล้ว +3

      It's already come with it. It's Node alpine

  • @abhijithsugunan6768
    @abhijithsugunan6768 5 ปีที่แล้ว

    Where can I find the app (workdir) by using exec sh ?

    • @BlackBoxTech
      @BlackBoxTech  5 ปีที่แล้ว

      You can try with docker exec

    • @abhijithsugunan6768
      @abhijithsugunan6768 5 ปีที่แล้ว

      @@BlackBoxTech I tried suppose if I set the workdir to /app then I can't find it anywhere. Is the data is keeping in some sort of temp cache at that moment. If I set it to any path like usr/src something like that it's findable

    • @BlackBoxTech
      @BlackBoxTech  5 ปีที่แล้ว

      You need to go inside the docker container using docker exec and then you will be able to find the folders

    • @abhijithsugunan6768
      @abhijithsugunan6768 5 ปีที่แล้ว

      @@BlackBoxTech yes I done that. It will take us to the root directory. From there if I searched for app or dist or any project related files it's not found. If I set the workdir to /app

  • @johnnyroberto
    @johnnyroberto 5 ปีที่แล้ว +1

    Perfect. thanks

  • @AviralTrivedi
    @AviralTrivedi 5 ปีที่แล้ว

    I am getting copy failed at step 8

    • @milanraval2550
      @milanraval2550 4 ปีที่แล้ว

      use this RUN npm run build -- --output-path=./dist/dockerangular

  • @rkrhythms9351
    @rkrhythms9351 4 ปีที่แล้ว

    Line by Line explaination is required for beginners, which I felt is missing

    • @BlackBoxTech
      @BlackBoxTech  4 ปีที่แล้ว

      Thanks a lot for the suggestion. I will make sure in the upcoming videos.