Configure nginx to serve WordPress content that listen on specific port serve content to modren based app like React Application.
To run the Docker image type this command as below.
docker build -t <username>/<app-name> .
You can even type sudo
at the start of the command to give permission to run the command.