Add automated docker hub builds

This commit is contained in:
Péter Szilágyi 2017-10-26 14:07:13 +03:00 committed by Ikmyeong Na
parent f55f3830e4
commit fea4b602d5
No known key found for this signature in database
GPG Key ID: EC674310ADADE2CA
2 changed files with 10 additions and 0 deletions

1
.dockerignore Normal file
View File

@ -0,0 +1 @@
**/.git

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM mhart/alpine-node:latest
ADD . /eth-netstats
WORKDIR /eth-netstats
RUN npm install && npm install -g grunt-cli && grunt
EXPOSE 3000
CMD ["npm", "start"]