added experiemental docker support

This commit is contained in:
Martin Guether
2017-04-07 10:50:48 +02:00
parent 2e34b317a4
commit a3e2129b79
3 changed files with 52 additions and 3 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM spacedeck/docker-baseimage:latest
ENV NODE_ENV production
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY package.json /usr/src/app/
RUN npm install
COPY . /usr/src/app
RUN npm cache clean
CMD [ "npm", "start" ]
EXPOSE 9666