Okay, you have a frontend React app and you want to serve it via Docker. Let's do that! In this wiki, we will dockerize both the development and production environment via separate Dockerfiles. Step 1: Project setup Initialized a pretty standard reac...

Markdown supported · ⌘↵ to post
Sriram Muthuswamy
Nice reading. I am new to react and I am looking to dockerize a react project and deploy it in AWS ECS. I've the necessary AWS resources created for this. But what's holding me is the way I build the react app. Should I use 2 different deployments, one for dev and another for prod? If so do I need to maintain 2 different repos? or can it be done on a single repo (project). What's the main thing(s) should I change when working locally and when I deploy it to AWS? Appreciate your advice. Thanks