|
@@ -0,0 +1,8 @@
|
|
|
+FROM php:7.4-cli
|
|
|
+ENV COMPOSER_ALLOW_SUPERUSER 1
|
|
|
+RUN apt update
|
|
|
+RUN apt install -y git unzip
|
|
|
+RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
|
|
+RUN composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
|
|
|
+#RUN composer update topthink/framework
|
|
|
+#CMD ["php", "./think", "-p", "80"]
|