feat: switch to php-apache docker setup for better compatibility and performance
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal 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
|
||||
Reference in New Issue
Block a user