No video

Docker with an Angular Application

  Рет қаралды 15,797

Jake Cyr

Jake Cyr

Күн бұрын

Learn how to write a Dockerfile for your Angular application with port forwarding to serve your application from within the Docker image and view it from your local machine.
Checkout my Medium article below:
/ dockerize-an-angular-a...
Don't forget to like and subscribe if you enjoyed the video!

Пікірлер: 28
@burgels
@burgels 2 жыл бұрын
Just wanted to say a HUGE thank you. I struggled all day with this yesterday and your solution worked for me on the first try. Plus I better understand what is happening now than I did.
@jakecyr
@jakecyr 2 жыл бұрын
No problem at all! I'm glad you found it useful and it helped unblock you.
@rohanrustagi7857
@rohanrustagi7857 Жыл бұрын
@@jakecyr DUDE CAN WE ALSO ADD NGINX INSTRUCTIONS TO HOST THE APPLICATION ??
@ranielquirante1064
@ranielquirante1064 2 жыл бұрын
Thank you for this, this is the only video that I've watched that doesn't use nginx
@jakecyr
@jakecyr 2 жыл бұрын
No problem, I'm glad it helped!
@mykhailo6919
@mykhailo6919 2 жыл бұрын
Only your video helped me among 15 from youtube! Thank you!
@jakecyr
@jakecyr 2 жыл бұрын
I’m glad it helped you!
@erlaveera5409
@erlaveera5409 3 жыл бұрын
It's Working. Thanks a lot Mr Jake
@jakecyr
@jakecyr 2 жыл бұрын
You're welcome!
@fitigued
@fitigued 3 жыл бұрын
Great video Jake. A few tiny thoughts. --disable-host-check should be used because --disableHostCheck is being deprecated My personal preference is to keep the commands in the package.json scripts.
@jakecyr
@jakecyr 2 жыл бұрын
Thank you! Great call, thank you for the feedback, I appreciate it :)
@leofreiitas
@leofreiitas Жыл бұрын
Thank you, dude
@reallogic0
@reallogic0 2 жыл бұрын
nice tutorial
@jakecyr
@jakecyr 2 жыл бұрын
Thank you!
@warriorfb2010
@warriorfb2010 2 жыл бұрын
Nice. Everything works for me!
@jakecyr
@jakecyr 2 жыл бұрын
I'm glad it was helpful!
@jsblade2770
@jsblade2770 2 жыл бұрын
thanks!
@nobodyeverybody8437
@nobodyeverybody8437 Жыл бұрын
great job, however using docker compose is missing and how to make the Dockerfile to work for both dev and prod.
@jakecyr
@jakecyr Жыл бұрын
Thank you! You may have to install docker compose separately. There are instructions here: docs.docker.com/compose/install/ To use the Dockerfile for dev and prod, you can use ENV variables in your Dockerfile and change what values you pass in when running the image. For example “docker run -e PORT=8080”. If the PORT environment variable is defined in your environment, you can just run “docker run -e PORT” to pass it into your docker image.
@MrOpera2011
@MrOpera2011 2 жыл бұрын
Nice thanks! Your mac is like exploading haha
@jakecyr
@jakecyr 2 жыл бұрын
No problem! Haha yeah I need an upgrade
@Tibiafy
@Tibiafy Жыл бұрын
Thx for the video bro! But how can docker detect my code changes? I'm changing my html, but when i refresh the page, the content remains the same
@jakecyr
@jakecyr Жыл бұрын
No problem! I hope it was helpful. You can mount your code folder as a volume when calling `docker run` to update the code in the container when you make changes locally.
@CASMANWHAT
@CASMANWHAT 3 жыл бұрын
great video. :)
@jakecyr
@jakecyr 3 жыл бұрын
Thank you :)
@chetant2220
@chetant2220 3 жыл бұрын
Hi Jake, I'm getting this message "no matching manifest for windows/amd64 10.0.18363 in the manifest list entries The terminal process "C:\WINDOWS\System32\cmd.exe /d /c docker build --pull --rm -f "Dockerfile" -t appdocker:v1 "."" terminated with exit code: 1."
@user-kx8wp1fy6l
@user-kx8wp1fy6l 2 жыл бұрын
Hi, Jake, thank you very much for the video! One question, when i Run docker run --rm -it -p 4201:4200 test-app in vscode I am getting Error: error:0308010C:digital envelope routines::unsupported. Any ideas?
@user-kx8wp1fy6l
@user-kx8wp1fy6l 2 жыл бұрын
ok, if anyone as facing the same problem, just use - FROM node:16-alpine3.12
Dockerize an Angular Application using Nginx
56:41
Get Arrays
Рет қаралды 18 М.
Алексей Щербаков разнес ВДВшников
00:47
Please Help Barry Choose His Real Son
00:23
Garri Creative
Рет қаралды 20 МЛН
Zombie Boy Saved My Life 💚
00:29
Alan Chikin Chow
Рет қаралды 6 МЛН
Dockerize your Angular app - Docker /Angular 13 / Nginx
27:59
JS Frameworks
Рет қаралды 8 М.
Angular 7 dev with docker | Creating Docker compose
13:12
BlackBox Tech
Рет қаралды 15 М.
Angular Mock Services For Data Driven Applications
10:06
Jake Cyr
Рет қаралды 14 М.
WATCH THIS to get started with Docker (easy mode)
16:04
TechHut
Рет қаралды 17 М.
Node.js MySQL Database Queries using Heroku ClearDB
17:53
Jake Cyr
Рет қаралды 3,6 М.
Docker Compose Tutorial
33:02
Programming with Mosh
Рет қаралды 443 М.
Алексей Щербаков разнес ВДВшников
00:47