add docker file

This commit is contained in:
Jonatan Nilsson 2017-11-05 11:53:54 +00:00
parent 1f064d1f4e
commit 12775a934e
1 changed files with 15 additions and 0 deletions

15
Dockerfile Normal file
View File

@ -0,0 +1,15 @@
FROM node:slim
ENV HOME=/app
COPY package.json $HOME/
WORKDIR $HOME
RUN npm install
COPY . $HOME/
EXPOSE 4011
CMD ["npm", "start"]