nginx-cra-docker

A project using docker and nginx to test out how to deploy a REACT CRA app to any sub-directory. i.e.

http://localhost/accounts

Tools

  1. React
  2. Docker
  3. Nginx

Running the Application

  1. To run the up,
     docker-compose up -d --build
  2. The app should be accessible on: http://localhost/accounts

Reference

  1. Deploy React App build to any Subdirectory