-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
49 lines (48 loc) · 963 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
41
42
43
44
45
46
47
48
49
version: "2.1"
services:
app:
image: spotify-radio
build: .
environment:
PORT: 3000
command:
- npm
- start
volumes:
- .:/home/node/spotify-radio
- node_modules:/home/node/spotify-radio/node_modules
ports:
- 3000:3000
test:
image: spotify-radio
build: .
command:
- npm
- run
- test
volumes:
- .:/home/node/spotify-radio
- node_modules:/home/node/spotify-radio/node_modules
test-watch:
image: spotify-radio
build: .
command:
- npm
- run
- test:watch
volumes:
- .:/home/node/spotify-radio
- node_modules:/home/node/spotify-radio/node_modules
test-coverage:
image: spotify-radio
build: .
user: node
command:
- npm
- run
- test:coverage
volumes:
- .:/home/node/spotify-radio
- node_modules:/home/node/spotify-radio/node_modules
volumes:
node_modules: {}