diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3cffc3e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM node:8 + +MAINTAINER Nguyen Nguyen +# 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 diff --git a/package.json b/package.json index 3b22e2d..4130149 100644 --- a/package.json +++ b/package.json @@ -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",