Add automated docker hub builds

This commit is contained in:
Péter Szilágyi 2017-10-26 14:07:13 +03:00
parent 2e72a285ac
commit 157caeafe5
No known key found for this signature in database
GPG Key ID: E9AE538CEDF8293D
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"]