Files
docker_php-apache-postgre/php/Dockerfile
T
2023-08-10 17:02:09 +03:00

7 lines
270 B
Docker

FROM php:8.1.22-apache
COPY 000-default.conf /etc/apache2/sites-enabled/
RUN apt-get update && apt-get install -y libpq-dev git && docker-php-ext-install pdo pdo_pgsql
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer