DemocracyOS/democracyos

View on GitHub
docker/development.Dockerfile

Summary

Maintainability
Test Coverage
FROM node:6

MAINTAINER Guido VilariƱo <guido@democracyos.org>

RUN npm config set python python2.7

COPY ["package.json", "/usr/src/"]

WORKDIR /usr/src

ENV NODE_PATH=.

RUN npm install --quiet --production

RUN npm install --quiet --only=development

COPY [".", "/usr/src/"]

EXPOSE 3000

CMD ["./node_modules/.bin/gulp", "bws"]