forked from cerner/terra-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
40 lines (36 loc) · 881 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
version: '3'
services:
dev: &dev
image: "terra-framework:dev"
build:
context: ./
args:
- npm_install=false
ports:
- 8080:8080
environment:
- CI=true
depends_on:
- standalone-chrome
volumes:
- .:/opt/module
standalone-chrome:
image: 'selenium/standalone-chrome:3.14.0-helium'
ports:
- '4444'
# Necessary due to some issues with chrome in docker. See https://github.com/SeleniumHQ/docker-selenium#running-the-images
volumes:
- '/dev/shm:/dev/shm'
# Necessary to lock down screen sizes for our screen shot comparisons.
environment:
TZ: 'America/Chicago'
term:
<<: *dev
command: "/bin/zsh"
test-ci:
build: ./
image: "${DOCKER_IMAGE}-test-standalone-chrome:${TAG:-latest}"
environment:
- CI=true
depends_on:
- standalone-chrome