-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (29 loc) · 998 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (29 loc) · 998 Bytes
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
version: '3.6'
services:
stage_viewer_webpack_dev_server:
build:
context: ./
dockerfile: npm_run.dockerfile
ports:
- 8001:8001
volumes:
- ./:/stageViewer:ro
- /stageViewer/node_modules # http://jdlm.info/articles/2016/03/06/lessons-building-node-app-docker.html
- ./static:/stageViewer/static:rw
#links:
# - stage_orchestration
command: npm run start
# docker-compose run --rm npm_run
# Creates static files in ./static/
npm_run:
build:
context: ./
dockerfile: npm_run.dockerfile
volumes:
- ./:/stageViewer:ro
- /stageViewer/node_modules # http://jdlm.info/articles/2016/03/06/lessons-building-node-app-docker.html
- ./static:/stageViewer/static:rw
- ../displayTrigger/:/displayTrigger/
- ../displayTrigger/display/:/stageViewer/node_modules/displayTrigger/:ro
- ../libs/:/stageViewer/node_modules/calaldees_libs/:ro
command: build