forked from BHONetwork/bholdus-chain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
39 lines (36 loc) · 1011 Bytes
/
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
version: "3.2"
services:
# dev:
# container_name: node-template
# image: paritytech/ci-linux:974ba3ac-20201006
# working_dir: /var/www/node-template
# ports:
# - "9944:9944"
# environment:
# - CARGO_HOME=/var/www/node-template/.cargo
# volumes:
# - .:/var/www/node-template
# - type: bind
# source: ./.local
# target: /root/.local
# command: bash -c "cargo build --release && ./target/release/node-template --dev --ws-external"
build-wasm:
build:
context: .
dockerfile: Dockerfile.build-wasm
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /bholdus:/bholdus
environment:
- ARCHIVE_PATH=build-wasm-archive
- SRTOOL_TAG=1.60.0
command: scripts/build-wasm.sh
build-binary:
build:
context: .
dockerfile: Dockerfile.build-binary
volumes:
- /bholdus:/bholdus
environment:
- ARCHIVE_PATH=build-binary-archive
command: scripts/build-binary.sh