forked from cryptogarageinc/cfd-js-wasm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
38 lines (34 loc) · 1023 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
version: '3.8'
services:
wasm-build:
container_name: 'cfdjs-wasm-builder'
build:
context: .
dockerfile: Dockerfile
target: cfd_wasm_builder
environment:
WASM_SRC: /private/cfd-js-wasm
WASM_WORK: /private/work/cfd-js-wasm
working_dir: /private/cfd-js-wasm
volumes:
- /private/work
- .:/private/cfd-js-wasm
- wasmbuild-ccache-data:/home/testuser/.cache/ccache
user: root
entrypoint: /private/cfd-js-wasm/tools/build_for_release.sh
wasm-test:
image: ghcr.io/cryptogarageinc/elements-testing:v0.2.5
volumes:
- ./:/workspace
working_dir: /workspace
user: testuser
command: /bin/bash -c "npm install && NODE_OPTIONS=--no-experimental-fetch npm run test_example"
wasm-update-package-lock:
image: ghcr.io/cryptogarageinc/elements-testing:v0.2.5
volumes:
- ./:/workspace
working_dir: /workspace
user: testuser
command: /bin/bash -c "./tools/update_package.sh"
volumes:
wasmbuild-ccache-data: