Run Cypress interactive UI in Docker (#9954)

Co-authored-by: Eric Mc Sween <eric.mcsween@overleaf.com>
GitOrigin-RevId: 51e7149cf10475c229d6e7a9ae8cf5694002d27b
This commit is contained in:
Alf Eaton
2022-11-01 09:04:03 +00:00
committed by Copybot
co-authored by Eric Mc Sween
parent 1bee2cfba3
commit 0e09c25a97
2 changed files with 14 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
services:
cypress:
image: cypress/included:10.9.0
volumes:
- ../../:/overleaf
- /tmp/.X11-unix:/tmp/.X11-unix
working_dir: /overleaf/services/web
entrypoint: npm
user: "${DOCKER_USER:-1000:1000}"
environment:
- "DISPLAY=${DISPLAY:-:0}"
# - "DEBUG=cypress.*"