aboutsummaryrefslogblamecommitdiffstats
path: root/Dockerfile
blob: be0a328febd232a9ee07ef96606b0b1ca428fd4c (plain) (tree)
1
           




















                                     
FROM node:7
MAINTAINER kumavis

# setup app dir
RUN mkdir -p /www/
WORKDIR /www/

# install dependencies
COPY ./package.json /www/package.json
RUN npm install

# copy over app dir
COPY ./ /www/

# run tests
# RUN npm test

# build app
RUN npm run dist

# start server
CMD node mascara/example/server.js