First Commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
FROM php:8.2-apache
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y \
|
||||
libpng-dev \
|
||||
libjpeg62-turbo-dev \
|
||||
libfreetype6-dev \
|
||||
libonig-dev \
|
||||
libzip-dev \
|
||||
zip \
|
||||
unzip
|
||||
RUN docker-php-ext-configure gd --with-freetype --with-jpeg
|
||||
RUN docker-php-ext-install gd pdo_mysql mysqli mbstring zip fileinfo
|
||||
|
||||
RUN a2enmod rewrite headers
|
||||
COPY apache2.conf /etc/apache2/conf-enabled/99-custom.conf
|
||||
@@ -0,0 +1,9 @@
|
||||
<Directory /var/www/html>
|
||||
Options Indexes FollowSymLinks
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
ServerName localhost
|
||||
ServerAdmin webmaster@localhost
|
||||
DocumentRoot /var/www/html
|
||||
@@ -0,0 +1,7 @@
|
||||
display_errors = Off
|
||||
extension=fileinfo
|
||||
extension=gd
|
||||
extension=pdo_mysql
|
||||
extension=mysqli
|
||||
extension=mbstring
|
||||
extension=zip
|
||||
Reference in New Issue
Block a user