-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
50 lines (50 loc) · 1.02 KB
/
docker-compose.yaml
File metadata and controls
50 lines (50 loc) · 1.02 KB
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
name: pythonic-misadventures
services:
python:
container_name: pythonic-misadventures-python
build:
context: .
dockerfile: Dockerfile
target: python
stdin_open: true # -i
tty: true # -t
develop:
watch:
- action: rebuild
path: requirements.txt
target: /python/requirements.txt
build:
container_name: pythonic-misadventures-build
build:
context: .
dockerfile: Dockerfile
target: build
depends_on:
- python
stdin_open: true # -i
tty: true # -t
volumes:
- type: volume
source: book
target: /_build
develop:
watch:
- action: rebuild
path: book/
target: /app/book/
web-preview:
container_name: pythonic-misadventures-web-preview
build:
context: .
dockerfile: Dockerfile
target: web-preview
depends_on:
- build
ports:
- "8088:80"
develop:
watch:
- action: rebuild
path: book/
volumes:
book: