-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
41 lines (40 loc) · 1007 Bytes
/
docker-compose.yaml
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
41
version: "3"
services:
dev:
container_name: route_blocker_dev
image: node:lts-alpine3.12
restart: always
stdin_open: true
tty: true
volumes:
- .:/app
command:
- sh
- -c
- cd /app && yarn && yarn test-unit-watch
dev_all:
container_name: route_blocker_dev_all
image: node:lts-alpine3.12
restart: always
stdin_open: true
tty: true
volumes:
- .:/app
command:
- sh
- -c
- cd /app && yarn && yarn test-watch
example_run:
container_name: route_blocker_example
image: node:lts-alpine3.12
restart: always
stdin_open: true
tty: true
volumes:
- .:/app
ports:
- 4000:4000
command:
- sh
- -c
- cd /app && yarn && yarn start-watch