From f7f15639caa6baa68b68f16955b2f84360189aa7 Mon Sep 17 00:00:00 2001 From: Marty Hernandez Avedon Date: Wed, 22 Feb 2023 18:01:24 -0500 Subject: [PATCH] Updated misleading Docker command in README (#440) * updated confusing command * typo fix * rewording --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0ec1f5cb9a0..d0780d95d13 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,15 @@ This command generates static content into the `build` directory and can be serv ### Launch With Docker -Use [Docker](https://www.docker.com/) to launch the website without needing to install and configure Yarn: +You can also use [Docker](https://www.docker.com/) to launch the website. + +The first time you launch the site this way, use this command to install Yarn and start the server: + +``` +docker run --rm -it -v $PWD:$PWD -w $PWD -p 3000:3000 node yarn install && yarn start -h 0.0.0.0 +``` + +On subsequent launches, use this command: ``` docker run --rm -it -v $PWD:$PWD -w $PWD -p 3000:3000 node yarn start -h 0.0.0.0