-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
44 lines (43 loc) · 1.1 KB
/
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
version: '3.9'
services:
ui:
container_name: emse_ui_lib
build:
context: .
dockerfile: Dockerfile
target: base
tty: true
expose:
- '6006'
ports:
- '6006:6006'
volumes:
- ./src:/usr/src/app/src
- ./.storybook:/usr/src/app/.storybook
networks:
- ui_network
command: yarn storybook
prettier:
container_name: emse_ui_lib_prettier
build:
context: .
dockerfile: Dockerfile
target: base
volumes:
- ./src:/usr/src/app/src
networks:
- ui_network
command: npx onchange "**/*" -- npx prettier --write --config ./.prettierrc --ignore-unknown {{changed}}
tailwind:
container_name: emse_ui_lib_tailwind
build:
context: .
dockerfile: Dockerfile
target: base
volumes:
- ./src:/usr/src/app/src
networks:
- ui_network
command: yarn style
networks:
ui_network: