ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
DockerFile内容: ``` FROM php:7.2-fpm ARG TZ="Asia/Shanghai" ENV TZ=${TZ} # RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime RUN cp /etc/apt/sources.list /etc/apt/sources.list.bak && echo "\ deb http://mirrors.aliyun.com/debian/ buster main non-free contrib \n\ deb-src http://mirrors.aliyun.com/debian/ buster main non-free contrib \n\ deb http://mirrors.aliyun.com/debian-security buster/updates main \n\ deb-src http://mirrors.aliyun.com/debian-security buster/updates main \n\ deb http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib \n\ deb-src http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib \n\ deb http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib \n\ deb-src http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib "\ > /etc/apt/sources.list # Composer RUN curl -sS https://install.phpcomposer.com/installer | php && \ mv composer.phar /usr/local/bin/composer && \ composer self-update --clean-backups && \ composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ # Utils RUN apt-get update && \ apt-get install -y libc6-dev libssl-dev libaio-dev procps wget vim zip unzip git net-tools dnsutils && \ apt-get clean # Core Libs RUN echo "Installing Core Libs..." && \ #gd apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng-dev && \ docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ && \ docker-php-ext-install -j$(nproc) gd && \ # bcmath docker-php-ext-install bcmath && \ # sockets docker-php-ext-install sockets && \ # Supervisor apt-get install -y supervisor # Crontab RUN apt-get install -y cron # MySQL extension RUN docker-php-ext-install mysqli && \ docker-php-ext-install pdo_mysql # Redis RUN pecl install redis && \ docker-php-ext-enable redis # MongoDB RUN pecl install mongodb && \ docker-php-ext-enable mongodb # ZIP RUN apt-get install -y libzip-dev && \ docker-php-ext-install -j$(nproc) zip # xlswriter RUN pecl install xlswriter EXPOSE 9000 WORKDIR /www ENTRYPOINT ["bash","-c","supervisord -n -c /etc/supervisor/supervisord.conf"] ```