Skip to content

Commit 3f259e3

Browse files
committed
Fix up the docker compose context
1 parent 0cc1597 commit 3f259e3

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/docker-compose.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@ services:
1717

1818
e2e-tests:
1919
build:
20-
dockerfile: ./Dockerfile
20+
# Use the root as the context so that the Dockerfile can find the package.json
21+
context: ../
22+
dockerfile: ./tests/Dockerfile
2123
pull: true # We only use FROM with a pinned version here, but adding this just in case that changes in the future
2224
ports:
2325
- '9323:9323'
2426
ipc: host
2527
volumes:
26-
- .:/work/tests
28+
- ../tests:/work/tests
2729
- ../test-results:/work/test-results
2830
- ../playwright-report:/work/playwright-report
2931
entrypoint: 'npx playwright test --config=playwright-docker.config.ts'

0 commit comments

Comments
 (0)