fixed cy:docker:

This commit is contained in:
Sebastian Frank 2022-02-26 11:39:25 +01:00
parent 5843680e14
commit ff7441f3c5
2 changed files with 9 additions and 1 deletions

5
cypress/tsconfig.json Normal file
View File

@ -0,0 +1,5 @@
{
"compilerOptions": {
"preserveValueImports": false
}
}

View File

@ -49,7 +49,8 @@ services:
CYPRESS_mongodbUri: mongodb://mongo
CYPRESS_tibiApiUrl: http://tibi-server:8080/api/v1
CYPRESS_projectApiConfig: /workdir/api/config.yml
DISPLAY: host.docker.internal:0.0
#DISPLAY: host.docker.internal:0.0
DISPLAY: $DISPLAY
LIBGL_ALWAYS_INDIRECT: 1
command: sh ./scripts/cy-command.docker.sh $CY_COMMAND
#command: yarn cy:$CY_COMMAND
@ -58,5 +59,7 @@ services:
volumes:
- ./:/workdir
- ~/.cache:/home/node/.cache
- $HOME/.Xauthority:$HOME/.Xauthority
- /tmp/.X11-unix:/tmp/.X11-unix
working_dir: /workdir
user: $CURRENT_UID