-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
62 lines (53 loc) · 1.12 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
62 lines (53 loc) · 1.12 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
51
52
53
54
55
56
57
58
59
60
61
62
x-common-service: &common-service
extends:
file: docker-compose.yml
service: base
image: devalltect00-docs-dev:latest
working_dir: /workspace
volumes:
- .:/workspace
- devalltect00-docs-node-modules:/workspace/node_modules
environment:
NODE_ENV: development
CHOKIDAR_USEPOLLING: "true"
WATCHPACK_POLLING: "true"
x-development-build: &development-build
context: .
dockerfile: Dockerfile
target: development
services:
app:
<<: *common-service
build: *development-build
ports:
- "3000:3000"
stdin_open: true
tty: true
shell:
<<: *common-service
entrypoint: []
command: sh
stdin_open: true
tty: true
test:
<<: *common-service
entrypoint: []
command: yarn test
typecheck:
<<: *common-service
entrypoint: []
command: yarn typecheck
format-check:
<<: *common-service
entrypoint: []
command: yarn format:check
build:
<<: *common-service
entrypoint: []
command: yarn build
check:
<<: *common-service
entrypoint: []
command: yarn validate
volumes:
devalltect00-docs-node-modules: