We don't always need to install dev dependencies with Yarn

This commit is contained in:
Pierre Rudloff 2017-11-21 11:22:38 +01:00
parent c197b5ef96
commit 2401b6b4a0
2 changed files with 2 additions and 2 deletions

View file

@ -14,6 +14,6 @@ RUN curl -sS https://getcomposer.org/installer | php
COPY resources/php.ini /usr/local/etc/php/ COPY resources/php.ini /usr/local/etc/php/
COPY . /var/www/html/ COPY . /var/www/html/
RUN php composer.phar install --prefer-dist RUN php composer.phar install --prefer-dist
RUN yarn install RUN yarn install --prod
RUN ./node_modules/.bin/grunt RUN ./node_modules/.bin/grunt
ENV CONVERT=1 ENV CONVERT=1

View file

@ -39,7 +39,7 @@ When updating from Git, you need to run yarn and Composer again:
```bash ```bash
git pull git pull
yarn install yarn install --prod
composer install composer install
``` ```