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"]