Skip to content

Commit

Permalink
Merge branch 'master' into add-accounting
Browse files Browse the repository at this point in the history
  • Loading branch information
inflector authored Dec 5, 2017
2 parents c2229de + d926ec9 commit bbde464
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 9 deletions.
13 changes: 8 additions & 5 deletions dao/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
FROM node:latest
FROM node:8

WORKDIR /dao
RUN npm install -g truffle

ADD . /dao
COPY package.json .

RUN \
npm install -g truffle && \
npm install

COPY . .

RUN npm install
RUN npm install zeppelin-solidity
5 changes: 4 additions & 1 deletion dao/dao.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/env sh

set -o errexit
set -o verbose
set -o xtrace
set -o nounset


Expand All @@ -14,7 +16,8 @@ bash)
;;

run)
truffle compile-all
cd /dao
truffle compile
truffle migrate --reset
truffle test
;;
Expand Down
2 changes: 1 addition & 1 deletion dao/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"ganache-cli": "^6.0.3",
"scrypt": "^6.0.3",
"truffle-hdwallet-provider": "0.0.3",
"zeppelin-solidity": "^1.3.0"
"zeppelin-solidity": "^1.4.0"
}
}
2 changes: 1 addition & 1 deletion docker-compose.dao.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
dao:
build: dao
volumes:
- ./dao:/dao
- ./data/dao:/data
links:
- testrpc

Expand Down
2 changes: 1 addition & 1 deletion testrpc/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:6
FROM node:8

WORKDIR /code

Expand Down

0 comments on commit bbde464

Please sign in to comment.