-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-build.yml
62 lines (56 loc) · 1.23 KB
/
docker-compose-build.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
version: '2'
services:
base:
build:
context: ./
dockerfile: Dockerfile-base
args:
http_proxy:
image: muccg/angelman-base
builder:
build:
context: ./
dockerfile: Dockerfile-builder
args:
http_proxy:
image: muccg/angelman-builder
command: releasetarball
network_mode: host
environment:
BUILD_VERSION:
GIT_BRANCH:
PIP_INDEX_URL:
PIP_TRUSTED_HOST:
NO_PROXY:
volumes:
- ./build:/data
node:
build:
context: ./
dockerfile: Dockerfile-node
image: muccg/rdrf-node
working_dir: /data/app/rdrf/rdrf/frontend
command: build
environment:
YARN_CACHE_FOLDER: /opt/yarn_cache
volumes:
- ./build:/data
- ./yarn_cache:/opt/yarn_cache
dev:
build:
context: ./
dockerfile: Dockerfile-dev
args:
ARG_PIP_INDEX_URL: ${PIP_INDEX_URL}
ARG_PIP_TRUSTED_HOST: ${PIP_TRUSTED_HOST}
http_proxy:
image: muccg/angelman-dev
volumes:
- .:/app
prod:
build:
context: ./
dockerfile: Dockerfile-prod
args:
ARG_BUILD_VERSION: ${BUILD_VERSION}
image: muccg/angelman:${BUILD_VERSION}