Skip to content

Commit e582e4a

Browse files
committed
Added generator to be able to use the docker as builder system
1 parent e1888c2 commit e582e4a

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ coverage/
1414

1515
# production
1616
public/
17+
dist/
1718

1819
# zeit now configuration
1920
.now

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,20 @@ docker build -t aragon-client . ; docker run --rm -p 8080:80 aragon-client
2424

2525
Then open [http://localhost:8080](http://localhost:8080) in your browser.
2626

27+
To extract the built files for local serving or IPFS upload:
28+
29+
```sh
30+
docker create --name aragon-tmp aragon-client && \
31+
docker cp aragon-tmp:/export ./dist && \
32+
docker rm aragon-tmp
33+
```
34+
35+
Then serve locally:
36+
37+
```sh
38+
cd dist && python3 -m http.server 8080
39+
```
40+
2741
## Quick start
2842

2943
Install with `yarn` and launch the app with `yarn start`. By default, the app is configured to connect to the Ethereum Goerli testnet.

0 commit comments

Comments
 (0)