aexiaoliou 2 年之前
當前提交
af6a7a89c1
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      Dockerfile

+ 8 - 0
Dockerfile

@@ -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"]