Add automated docker hub builds

This commit is contained in:
Péter Szilágyi 2017-10-26 14:07:13 +03:00 committed by EOS Classic
parent 0626ecf415
commit 75bf2f5d45
No known key found for this signature in database
GPG Key ID: 0D626A44301D8C5E
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"]