Cleaner way to run Grunt in Dockerfile

This commit is contained in:
Pierre Rudloff 2018-01-06 17:53:03 +01:00
parent 9a7ab89286
commit 5ad6e64ec1

View file

@ -15,5 +15,5 @@ COPY resources/php.ini /usr/local/etc/php/
COPY . /var/www/html/
RUN php composer.phar install --prefer-dist
RUN yarn install --prod
RUN ./node_modules/.bin/grunt
RUN yarn grunt
ENV CONVERT=1