slovocast/dev/php/Dockerfile

28 lines
735 B
Docker

FROM php:8.3-fpm
WORKDIR /var/www/slovocast
RUN apt-get update && \
apt-get install -y libonig-dev \
zip \
libzip-dev \
libpng-dev \
libxml2-dev
RUN docker-php-ext-install pdo \
pdo_mysql \
mbstring \
gd \
zip \
dom
## Set up the Development Environment
RUN pecl install xdebug \
&& docker-php-ext-enable xdebug
COPY ./dev/php/config/xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini
RUN curl -sS https://getcomposer.org/installer | \
php -- --install-dir=/usr/local/bin --filename=composer