π Angular, Docker & Nginx: Build once, Deploy anywhere
#angular #nginx #docker
β Article linkπ Code link
#angular #nginx #docker
In software development is quite common to have multiple environments, each with different configurations. Angular offers a built-in system for managing environment variables, allowing for the replacement of files during build time. However, this approach often requires creating separate builds for each environment, which can be time-consuming but to avoid this we have a pretty common pattern in the industry.
Build once, deploy anywhereβ¦
So, letβs have an example where we have two environments, DEV and PROD, and for that, we want to have ONE build. For that, we use:
Angular β a front-end framework for building SPA applications.
Nginx β is a web server and reverse proxy server.
Docker β is a platform for developing, shipping, and running applications in containers, which are lightweight, portable, and self-sufficient environments.
β Article link
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
#angular #nginx #moduleFederation #microfrontends
β Article Link
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
π2