Updated misleading Docker command in README (#440)

* updated confusing command

* typo fix

* rewording
This commit is contained in:
Marty Hernandez Avedon
2023-02-22 15:01:24 -08:00
committed by GitHub
parent 75f5001ea4
commit f7f15639ca
+9 -1
View File
@@ -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