Implement YAML config loader

This commit is contained in:
Lexi / Zoe 2021-09-25 23:56:04 +02:00
parent 14c22e0e6c
commit 6c41f06105
Signed by: binaryDiv
GPG key ID: F8D4956E224DA232
14 changed files with 169 additions and 9 deletions

View file

@ -3,8 +3,10 @@ FROM php:7.4-apache AS base
WORKDIR /var/www
RUN apt-get update && \
apt-get install -y libzip-dev unzip git && \
docker-php-ext-install pdo pdo_mysql zip
apt-get install -y git unzip libyaml-dev libzip-dev && \
docker-php-ext-install pdo pdo_mysql zip && \
pecl install yaml && \
docker-php-ext-enable yaml
RUN a2enmod rewrite && \
sed -ri -e 's!/var/www/html!/var/www/public!g' /etc/apache2/sites-available/*.conf