feat: switch to php-apache docker setup for better compatibility and performance

This commit is contained in:
mstfyldz
2026-05-04 23:42:02 +03:00
parent e4685289f7
commit 1a1fa50daa
5 changed files with 63 additions and 88 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM php:8.2-apache
# Apache modüllerini aktif et (Rewrite, Expires, Sıkıştırma için)
RUN a2enmod rewrite expires deflate headers
# Proje dosyalarını kopyala
COPY . /var/www/html/
# İzinleri ayarla
RUN chown -R www-data:www-data /var/www/html/
# Çalışma dizini
WORKDIR /var/www/html
EXPOSE 80