You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
355 B
13 lines
355 B
7 months ago
|
|
||
|
from php:8.2-apache
|
||
|
|
||
|
RUN apt update && \
|
||
|
apt install -y postgresql-server-dev-15 && \
|
||
|
docker-php-ext-install pdo_pgsql && \
|
||
|
a2enmod rewrite headers
|
||
|
|
||
|
RUN rm -rf /var/www/html && \
|
||
|
ln -sf /app/public /var/www/html && \
|
||
|
sed -i 's/80/8000/' /etc/apache2/ports.conf && \
|
||
|
sed -i 's/80/8000/' /etc/apache2/sites-enabled/000-default.conf
|