Added tests for colors and fully setup cypress in Docker

This commit is contained in:
Nikolay Rozhkov
2023-07-02 01:10:06 +03:00
parent a62719826a
commit 084b765e9f
6 changed files with 106 additions and 76 deletions

View File

@@ -17,18 +17,17 @@ services:
- 9000:9000
- 3333:3333
cypress:
image: cypress/base:18.16.0
image: cypress/included:12.16.0
stdin_open: true
tty: true
working_dir: /mermaid
mem_limit: '2G'
entrypoint: cypress
environment:
- NODE_OPTIONS=--max_old_space_size=2048
- DISPLAY
volumes:
- ./:/mermaid
- root_cache:/root/.cache
- root_local:/root/.local
- root_npm:/root/.npm
- /tmp/.X11-unix:/tmp/.X11-unix
network_mode: host
volumes: