diff --git a/Dockerfile b/Dockerfile index 565fba1..e1dd98c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,7 @@ RUN apt-get update \ && pecl install xdebug \ && curl -sS https://getcomposer.org/installer | php \ && mv composer.phar /usr/local/bin/composer \ + && composer global require hirak/prestissimo \ && sed -ri -e 's!/var/www/html!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/sites-available/*.conf \ && sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf \ && a2enmod rewrite diff --git a/README.md b/README.md index 8e41439..1d812ce 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,6 @@ docker-compose up -d 4. Composer と yarn を使い必要なライブラリをインストールします。 ``` -docker-compose exec web composer global require hirak/prestissimo docker-compose exec web composer install docker-compose exec web yarn install ```