Skip to content

Commit 5e4b67c

Browse files
authored
docs: use /app as standard example working directory (#1254)
1 parent a677bf3 commit 5e4b67c

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

base/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ In this example we first run the unchanged image `cypress/base` as a container:
2929
```shell
3030
cd examples/basic # Use a pre-configured simple Cypress E2E project
3131
npm ci # Install Cypress
32-
docker run -it --rm -v .:/e2e -w /e2e cypress/base # Run image as container
32+
docker run -it --rm -v .:/app -w /app cypress/base # Run image as container
3333
```
3434

35-
At the `bash` prompt `:/e2e#`, we can then enter the following commands:
35+
At the `bash` prompt `:/app#`, we can then enter the following commands:
3636

3737
```shell
3838
npx cypress install # Install Cypress binary into running Docker container

browsers/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ In this example we first run the unchanged image `cypress/browsers` as a contain
3434
```shell
3535
cd examples/basic # Use a pre-configured simple Cypress E2E project
3636
npm ci # Install Cypress
37-
docker run -it --rm -v .:/e2e -w /e2e cypress/browsers # Run image as container
37+
docker run -it --rm -v .:/app -w /app cypress/browsers # Run image as container
3838
```
3939

40-
At the `bash` prompt `:/e2e#`, we can then enter the following commands:
40+
At the `bash` prompt `:/app#`, we can then enter the following commands:
4141

4242
```shell
4343
npx cypress install # Install Cypress binary into running Docker container

examples/chromium/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ In this example we first run the unchanged image `cypress/base` as a container:
2626
```shell
2727
cd examples/chromium # Use a pre-configured simple Cypress E2E project
2828
npm ci # Install Cypress
29-
docker run -it --rm -v .:/e2e -w /e2e cypress/base # Run image as container
29+
docker run -it --rm -v .:/app -w /app cypress/base # Run image as container
3030
```
3131

32-
At the `bash` prompt `:/e2e#`, we can then enter the following commands:
32+
At the `bash` prompt `:/app#`, we can then enter the following commands:
3333

3434
```shell
3535
apt-get update # Update package index

examples/firefox-esr/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ In this example we first run the unchanged image `cypress/base` as a container:
2828
```shell
2929
cd examples/firefox-esr # Use a pre-configured simple Cypress E2E project
3030
npm ci # Install Cypress
31-
docker run -it --rm -v .:/e2e -w /e2e cypress/base # Run image as container
31+
docker run -it --rm -v .:/app -w /app cypress/base # Run image as container
3232
```
3333

34-
At the `bash` prompt `:/e2e#`, we can then enter the following commands:
34+
At the `bash` prompt `:/app#`, we can then enter the following commands:
3535

3636
```shell
3737
apt-get update # Update package index

0 commit comments

Comments
 (0)