specified x86-64 arch, made wording more consistent, and changed codeblock to console (#15184)

This commit is contained in:
Craig Osterhout 2022-07-27 13:04:46 -07:00 committed by GitHub
parent d306f6c19d
commit b0dc95cd62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -40,7 +40,9 @@ So, let's do it!
1. Make sure you don't have any previous `getting-started` containers running.
2. Run the following command from the app directory. We'll explain what's going on afterwards:
2. Run the following command from the app directory. We'll explain what's going on afterwards.
If you are using an x86-64 Mac or Linux device, then use the following command.
```console
$ docker run -dp 3000:3000 \
@ -49,7 +51,7 @@ So, let's do it!
sh -c "yarn install && yarn run dev"
```
If you are using Windows then use this command in PowerShell:
If you are using Windows, then use the following command in PowerShell.
```powershell
PS> docker run -dp 3000:3000 `
@ -60,7 +62,7 @@ So, let's do it!
If you are using an Apple silicon Mac or another ARM64 device, then use the following command.
```bash
```console
$ docker run -dp 3000:3000 \
-w /app -v "$(pwd):/app" \
node:12-alpine \