Excellent Tutorial! Can you make a short tutorial on how to do this with a repo so that DigitalOcean auto deploys on changes? It looks pretty straight forward, but in my case the deployment fails without error messages.
SIr, how did the app start from docker without issuing ng --server or npm start? Could you please help me understand? Btw, thank you so much for all the time and effort you put in teaching us :)
Thank you, that was exacly what i was looking for. What if i have nodejs(express) ./server folder in my angular app root, how can i make it running as well? Lets say to test locally i use 'cd server && npm run server', so how to make it work in the same contpainer? Is it just a matter of adding it into a dockerfile somewhere?
@@nourgr-fk1bb Yes, I managed to solve it. The problem was in the nginx.conf file. The path was not correctly specified so it wasn't able to find the correct index.html. Try changing the path
This will probably help you shadynagy.com/dynamically-injecting-environment-variables-in-dockerized-angular/ However please bear in mind that angular apps are loaded into the browser, thus be careful of accidentally exposing env variables to your users. Generally I would recommend simply storing your public env variables in your environment files directly since I don't see much benefit in fetching them from docker unless you have a very specific use case.
Excellent ! Thanks
Can you do a video and show how to deploy an Angular app to IIS ?
Brooo, thank you so much
Great tuto ❤❤
Excellent Tutorial! Can you make a short tutorial on how to do this with a repo so that DigitalOcean auto deploys on changes? It looks pretty straight forward, but in my case the deployment fails without error messages.
Good
awsome
SIr, how did the app start from docker without issuing ng --server or npm start? Could you please help me understand? Btw, thank you so much for all the time and effort you put in teaching us :)
Please help us with deploy an Angular app with domain name on aws
Thank you, that was exacly what i was looking for. What if i have nodejs(express) ./server folder in my angular app root, how can i make it running as well? Lets say to test locally i use 'cd server && npm run server', so how to make it work in the same contpainer? Is it just a matter of adding it into a dockerfile somewhere?
can you please explain what should be the configuration if our application is SSR?
Have you found a tutorial to implement angular 17 ssr?
@@dlcanegro753 I know how to implement Angular 17 SSR, but I don't know how the configuration should be for the deployment
ERROR: failed to solve: process "/bin/sh -c npm ci" did not complete successfully: exit code: 1
When I try to access the app's port it just displays a page saying : "Welcome to nginix". Why is this happening??
I have the same problem. Do you find a solution please?
@@nourgr-fk1bb Yes, I managed to solve it. The problem was in the nginx.conf file. The path was not correctly specified so it wasn't able to find the correct index.html. Try changing the path
@@stefanciobanu2933 thank you so much!
in docker desktop when you hit run and pass enviroment varaible can you read them from angular ?
This will probably help you shadynagy.com/dynamically-injecting-environment-variables-in-dockerized-angular/
However please bear in mind that angular apps are loaded into the browser, thus be careful of accidentally exposing env variables to your users. Generally I would recommend simply storing your public env variables in your environment files directly since I don't see much benefit in fetching them from docker unless you have a very specific use case.
@@codedeck
Thank you I've made something similler but it do helped me greetings 🐓🐔
Why it shows 403 forbidden.
Is SSR is enable in your project?
In this video the build was without SSR
@@codedeck Could you do another vidéo with SSR