Skip to content

Commit 8879e7f

Browse files
author
Mike Upton
authored
Adding docker run details
1 parent c82518e commit 8879e7f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,16 @@ Your app is ready to be deployed!
8383

8484
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
8585

86+
## Running with Docker
87+
88+
### `docker build -t path2finding-visualizer .`
89+
90+
Builds the React UI in production production and assembles a docker image to host the build using Nginx.
91+
92+
### `docker run -p 80:80 -d path2finding-visualizer`
93+
94+
Runs the Nginx server hosting the React UI on port 80. Access the running server at http://localhost
95+
8696
## Contributors ✨
8797

8898
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

0 commit comments

Comments
 (0)