Skip to content

Commit

Permalink
update Dockerfile: replace composer mirrors to aliyun
Browse files Browse the repository at this point in the history
  • Loading branch information
mylxsw committed Aug 29, 2022
1 parent 1b818a6 commit fcdf040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ RUN wget https://getcomposer.org/download/1.6.4/composer.phar \
&& mv composer.phar /usr/bin/composer.phar \
&& chmod +x /usr/bin/composer.phar \
&& ln -s /usr/bin/composer.phar /usr/bin/composer \
&& php /usr/bin/composer config -g repo.packagist composer https://packagist.laravel-china.org
&& php /usr/bin/composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/

RUN a2enmod rewrite
RUN a2enmod headers
Expand Down

0 comments on commit fcdf040

Please sign in to comment.