Merge pull request #244 from shikorism/prestissimo
prestissimoのインストールをDockerfileに含める
This commit is contained in:
commit
5517cd5fab
@ -10,6 +10,7 @@ RUN apt-get update \
|
|||||||
&& pecl install xdebug \
|
&& pecl install xdebug \
|
||||||
&& curl -sS https://getcomposer.org/installer | php \
|
&& curl -sS https://getcomposer.org/installer | php \
|
||||||
&& mv composer.phar /usr/local/bin/composer \
|
&& 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/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 \
|
&& sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf \
|
||||||
&& a2enmod rewrite
|
&& a2enmod rewrite
|
||||||
|
@ -36,7 +36,6 @@ docker-compose up -d
|
|||||||
4. Composer と yarn を使い必要なライブラリをインストールします。
|
4. Composer と yarn を使い必要なライブラリをインストールします。
|
||||||
|
|
||||||
```
|
```
|
||||||
docker-compose exec web composer global require hirak/prestissimo
|
|
||||||
docker-compose exec web composer install
|
docker-compose exec web composer install
|
||||||
docker-compose exec web yarn install
|
docker-compose exec web yarn install
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user