b
This commit is contained in:
13
dockerfile
Normal file
13
dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM php:8.2-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
|
||||
RUN a2enmod rewrite
|
||||
|
||||
EXPOSE 80
|
||||
Reference in New Issue
Block a user