mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
docs: use bash tag to get better formatting (#10086)
This commit is contained in:
@@ -6,13 +6,13 @@ browser instance.
|
||||
|
||||
## Building the image
|
||||
|
||||
```sh
|
||||
```bash
|
||||
docker build -t puppeteer-chrome-linux . # `puppeteer-chrome-linux` is the name of the image.
|
||||
```
|
||||
|
||||
## Running the image
|
||||
|
||||
```sh
|
||||
```bash
|
||||
docker run -i --init --rm --cap-add=SYS_ADMIN --name puppeteer-chrome puppeteer-chrome-linux node -e "`cat test.js`"
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user