-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
54 lines (49 loc) · 925 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
42
43
44
45
46
47
48
49
50
51
52
53
54
version: '3.8'
services:
treeline:
build:
context: .
dockerfile: Dockerfile
volumes:
- .:/app
- ./output:/app/output
environment:
- PYTHONPATH=/app
command: python -m treeline
ports:
- "8000:8000"
tests:
build:
context: .
dockerfile: Dockerfile
command: tox
volumes:
- .:/app
- ./output:/app/output
environment:
- PYTHONPATH=/app
docs:
build:
context: .
dockerfile: Dockerfile
command: sphinx-build -b html docs/source docs/build/html
volumes:
- .:/app
- ./docs:/app/docs
ports:
- "8080:8080"
lint:
build:
context: .
dockerfile: Dockerfile
command: tox -e lint
volumes:
- .:/app
coverage:
build:
context: .
dockerfile: Dockerfile
command: tox -e coverage
volumes:
- .:/app
- ./output:/app/output