add config apache

This commit is contained in:
andrey
2023-08-10 17:02:09 +03:00
parent 97a77ffc22
commit df58e8414c
13 changed files with 72 additions and 16 deletions
+4 -1
View File
@@ -1,4 +1,7 @@
FROM php:8.1.22-apache
RUN apt-get update && apt-get install -y libpq-dev && docker-php-ext-install pdo pdo_pgsql
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