Initial commit with security patches

This commit is contained in:
mstfyldz
2026-02-22 17:08:48 +03:00
commit b44389a0a2
13 changed files with 1619 additions and 0 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM php:7.4-apache
# Tüm dosyaları sunucuya kopyala
COPY . /var/www/html/
# Klasör izinlerini ayarla
RUN chown -R www-data:www-data /var/www/html \
&& chmod -R 755 /var/www/html
# Apache'nin PHP'yi işlemesini sağla ve AllowOverride ayarını aktifleştir
RUN a2enmod rewrite \
&& sed -i 's/AllowOverride None/AllowOverride All/g' /etc/apache2/apache2.conf
EXPOSE 80