Initial commit
This commit is contained in:
13
docker/php/dockerfile
Normal file
13
docker/php/dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user