Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
geneh committed Jun 12, 2017
1 parent 08c474a commit 63d87af
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
FROM node
FROM node:6

EXPOSE 4000
EXPOSE 5858

# use changes to package.json to force Docker not to use the cache
# when we change our application's nodejs dependencies:
RUN npm install -g nodemon
ADD package.json /tmp/package.json
RUN cd /tmp && npm install --production
RUN mkdir -p /opt/ghcrawler-dashboard && cp -a /tmp/node_modules /opt/ghcrawler-dashboard/

WORKDIR /opt/ghcrawler-dashboard
ADD . /opt/ghcrawler-dashboard

CMD nodemon --debug ./bin/www
CMD ["npm", "start"]

0 comments on commit 63d87af

Please sign in to comment.