0
0

Initial commit

This commit is contained in:
2022-08-28 10:48:09 +08:00
commit b4ac2dc4de
11 changed files with 167 additions and 0 deletions

13
docker/php/dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM php:8.1-fpm
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN pecl channel-update pecl.php.net && \
# версию пакета oci8 для установки можно проверять здесь https://pecl.php.net/package/xdebug
pecl install xdebug-3.1.5
RUN mkdir -p /var/log/php
WORKDIR /var/www
EXPOSE 9000
CMD ["php-fpm"]