fix: add Dockerfile for cypress

* install additional dependencies for cypress
* remove duplicate cypress installation
This commit is contained in:
wancat authored and Annie Huang committed 2023-10-30 14:57:40 +08:00
1 parent 0c1acf1083
commit 9ac429a564
4 files changed
+258 -14

No files matched your search

+5 -3
View File
@@ -1,12 +1,14 @@
version: '3'
services:
cypress:
image: cypress/included
build:
context: .
dockerfile: tests/Dockerfile
networks:
- internal
volumes:
- ./tests:/e2e
working_dir: /e2e
- ./tests:/app/tests
working_dir: /app/tests
environment:
- BASE_URL=http://app-test
depends_on: