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 ```