Important
This repo contains the instrumental files for implementing a React application with Nginx with runtime variables for Dockerization.
Steps
git clone <this-repo-url>(outside of your React App)./copy.sh <react-app-path>- cd
<react-path> - Dockerize (inside of react-app-path
docker build . -t 'react-app-image') - Create a container (
docker run -d --name "docker-image"-p 3000:80)