Adding dockerfile

This commit is contained in:
Hexagon 2016-12-18 00:03:43 +01:00
parent 67538fdb7f
commit 5082ba7680
2 changed files with 9 additions and 0 deletions

2
.dockerignore Normal file
View File

@ -0,0 +1,2 @@
node_modules
npm-debug.log

7
Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM node:argon
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY . /usr/src/app
RUN npm install
EXPOSE 8080
CMD [ "npm", "start" ]