Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Commit

Permalink
update tasks and add phantomjs
Browse files Browse the repository at this point in the history
- For Issue #118
  • Loading branch information
VikramTiwari committed Sep 14, 2017
1 parent d97de94 commit bbe7b9f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ MAINTAINER Vikram Tiwari [email protected]
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

RUN yarn global add bower grunt-cli
RUN yarn global add bower grunt-cli phantomjs-prebuilt

RUN apt-get install libfontconfig

Expand All @@ -14,10 +14,11 @@ RUN chown -R node:node /usr/src/app
USER node
RUN touch /home/node/.mean
RUN yarn
RUN grunt

COPY . /usr/src/app/
ENV PORT 3000
ENV NODE_ENV production
EXPOSE 3000

CMD ["yarn", "start"]
CMD ["yarn", "startProd"]

0 comments on commit bbe7b9f

Please sign in to comment.