Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheton Wu (RD-TW) committed Jan 6, 2016
2 parents 46d7d13 + 87f0c3c commit b1eeacc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
FROM nodesource/vivid:4
MAINTAINER Cheton Wu <cheton@gmail.com>

RUN npm install -g nodemon

# cache package.json and node_modules to speed up builds
ADD package.json package.json
RUN npm install --production

# Expose port
EXPOSE 8000

# Add your source files
ADD . .
CMD ["npm", "start"]
WORKDIR /src
ADD . /src
EXPOSE 8000
CMD ["nodemon", "/src/bin/cnc"]

0 comments on commit b1eeacc

Please sign in to comment.