From bbe7b9f9a7abba0438b78936461341233eb14c13 Mon Sep 17 00:00:00 2001 From: Vikram Tiwari Date: Wed, 13 Sep 2017 22:44:50 -0700 Subject: [PATCH] update tasks and add phantomjs - For Issue #118 --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 66e3211..1f2386e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ MAINTAINER Vikram Tiwari vikramtheone1@gmail.com 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 @@ -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"]