Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

run experimental studio in linux #136

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ services:
environment:
- CYPRESS_baseUrl=http://web
command: npx cypress run
# network_mode: host # uncomment for running Cypress GUI
# mount the host directory e2e/cypress and the file e2e/cypress.config.js as
# volumes within the container
# this means that:
Expand All @@ -34,3 +35,4 @@ services:
volumes:
- ./e2e/cypress:/app/cypress
- ./e2e/cypress.config.js:/app/cypress.config.js
# - ~/.Xauthority:/root/.Xauthority:rw # uncomment for running Cypress GUI
3 changes: 3 additions & 0 deletions e2e/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
FROM cypress/base:16
# For using Cypress GUI in linux use the following
# FROM cypress/browsers:chrome69 as e2eBuild
# RUN apt-get install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth
WORKDIR /app

# dependencies will be installed only if the package files change
Expand Down