Docker image integration (beta)

This commit is contained in:
2025-10-01 15:42:34 +02:00
parent 906beaaa4b
commit c619b748fa
4 changed files with 49 additions and 0 deletions

10
Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM php:8.2-apache
RUN docker-php-ext-install mysqli pdo pdo_mysql
COPY htdocs/ /var/www/html/
COPY docker/php/db.php /var/www/html/db.php
RUN chown -R www-data:www-data /var/www/html
# For now remove OpenID files from container, OpenID integration will come soon.
RUN rm /var/www/html/admin/login.php.keycloak
RUN rm /var/www/html/admin/logout.php.keycloak
RUN a2enmod rewrite
EXPOSE 80