Files
xciptv/Dockerfile
2026-02-22 17:08:48 +03:00

14 lines
383 B
Docker
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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