React Production Build using Docker Compose

React Production Builds Using Docker Compose

If you have ever needed to create a docker container that runs a React app but you need to use a docker-compose file to add environmental variables to it but need it to be flexible enough to use any compose file on any given server (stage, prod, test) then this post might be for you.