From 2401b6b4a0471eabe52ffcd5d5b4fcf3a132dff9 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Tue, 21 Nov 2017 11:22:38 +0100 Subject: [PATCH] We don't always need to install dev dependencies with Yarn --- Dockerfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 52fd230..ecfc795 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,6 @@ RUN curl -sS https://getcomposer.org/installer | php COPY resources/php.ini /usr/local/etc/php/ COPY . /var/www/html/ RUN php composer.phar install --prefer-dist -RUN yarn install +RUN yarn install --prod RUN ./node_modules/.bin/grunt ENV CONVERT=1 diff --git a/README.md b/README.md index db0db29..f956f1b 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ When updating from Git, you need to run yarn and Composer again: ```bash git pull -yarn install +yarn install --prod composer install ```