diff --git a/Dockerfile b/Dockerfile
index 5c24dd4..f96052e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -41,36 +41,7 @@ RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
RUN a2enmod rewrite
# Apache VirtualHost ayarı
-RUN cat > /etc/apache2/sites-available/000-default.conf <<'EOF'
-
- ServerName localhost
- ServerAdmin webmaster@localhost
-
- DocumentRoot /var/www/html/public
-
-
- Options FollowSymLinks
- AllowOverride All
- Require all granted
-
-
-
- AllowOverride All
- Require all granted
-
-
- Alias /uploads /home/uploads
-
-
- Options FollowSymLinks
- AllowOverride None
- Require all granted
-
-
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
-
-EOF
+COPY vhost.conf /etc/apache2/sites-available/000-default.conf
# Upload klasörü
RUN mkdir -p /home/uploads \
diff --git a/vhost.conf b/vhost.conf
new file mode 100644
index 0000000..4905e96
--- /dev/null
+++ b/vhost.conf
@@ -0,0 +1,28 @@
+
+ ServerName localhost
+ ServerAdmin webmaster@localhost
+
+ DocumentRoot /var/www/html/public
+
+
+ Options FollowSymLinks
+ AllowOverride All
+ Require all granted
+
+
+
+ AllowOverride All
+ Require all granted
+
+
+ Alias /uploads /home/uploads
+
+
+ Options FollowSymLinks
+ AllowOverride None
+ Require all granted
+
+
+ ErrorLog ${APACHE_LOG_DIR}/error.log
+ CustomLog ${APACHE_LOG_DIR}/access.log combined
+