First Commit

This commit is contained in:
2025-10-30 00:48:54 +09:00
commit 0e6df50a7f
9 changed files with 108 additions and 0 deletions
+16
View File
@@ -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
+9
View File
@@ -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
+7
View File
@@ -0,0 +1,7 @@
display_errors = Off
extension=fileinfo
extension=gd
extension=pdo_mysql
extension=mysqli
extension=mbstring
extension=zip