Skip to content

Commit

Permalink
Merge pull request #25 from thanhnguyennguyen/dockerization
Browse files Browse the repository at this point in the history
dockerization
  • Loading branch information
Nguyen Nguyen committed Jul 25, 2018
2 parents 9b2ad04 + 04759ee commit 69e8507
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM node:8

MAINTAINER Nguyen Nguyen <nguyenbk92@gmail.com>
# Set the working directory to /app
WORKDIR /app

# Copy the current directory contents into the container at /app
COPY contracts /app/contracts/
COPY compile.js /app
COPY compile_Inbox.js /app
COPY deploy.js /app
COPY test /app/test/
COPY package*.json /app/

RUN npm install
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"solc": "^0.4.24",
"truffle-hdwallet-provider": "0.0.3",
"web3": "^1.0.0-beta.26",
"webpack": "^4.12.0"
"webpack": "^4.12.0",
"websocket": "^1.0.26"
},
"devDependencies": {
"nyc": "^12.0.2",
Expand Down

0 comments on commit 69e8507

Please sign in to comment.