Initial clean version

This commit is contained in:
root
2026-11-11 09:24:28 +01:00
commit ab58b33f9c
156 changed files with 5697 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
FROM php:8.3-apache
RUN apt-get update && apt-get install -y --no-install-recommends libonig-dev libzip-dev libxml2-dev libcurl4-openssl-dev libpng-dev libjpeg62-turbo-dev poppler-utils coreutils \
&& docker-php-ext-configure gd --with-jpeg \
&& docker-php-ext-install pdo_mysql mbstring zip simplexml gd curl \
&& a2enmod rewrite && rm -rf /var/lib/apt/lists/*
ENV APACHE_DOCUMENT_ROOT=/var/www/html/public
RUN sed -ri 's!/var/www/html!/var/www/html/public!g' /etc/apache2/sites-available/*.conf \
&& printf '<Directory /var/www/html/public>\nAllowOverride All\nRequire all granted\n</Directory>\n' > /etc/apache2/conf-available/esbsc.conf \
&& a2enconf esbsc
WORKDIR /var/www/html
COPY . /var/www/html
RUN mkdir -p storage/reports && chown -R www-data:www-data storage
COPY deploy/php.ini /usr/local/etc/php/conf.d/esbsc.ini