2024-11-06 03:10:42 +00:00
|
|
|
FROM php:8.3-fpm
|
|
|
|
|
2024-11-08 03:49:59 +00:00
|
|
|
WORKDIR /var/www/slovocast
|
|
|
|
|
2024-11-06 03:10:42 +00:00
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get install -y libonig-dev \
|
|
|
|
zip \
|
|
|
|
libzip-dev \
|
2024-11-15 01:07:38 +00:00
|
|
|
libpng-dev \
|
|
|
|
libxml2-dev
|
2024-11-06 03:10:42 +00:00
|
|
|
|
2024-11-15 01:07:38 +00:00
|
|
|
RUN docker-php-ext-install pdo \
|
|
|
|
pdo_mysql \
|
|
|
|
mbstring \
|
|
|
|
gd \
|
|
|
|
zip \
|
|
|
|
dom
|
|
|
|
|
2024-11-26 13:59:28 +00:00
|
|
|
## 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
|
|
|
|
|
2024-11-15 01:07:38 +00:00
|
|
|
RUN curl -sS https://getcomposer.org/installer | \
|
|
|
|
php -- --install-dir=/usr/local/bin --filename=composer
|
2024-11-08 03:49:59 +00:00
|
|
|
|
|
|
|
|