diff --git a/Dockerfile b/Dockerfile index 99f42e0..4fdd7b6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,9 @@ RUN docker-php-ext-install mysqli pdo pdo_mysql && docker-php-ext-enable mysqli # Aktifkan mod_rewrite Apache RUN a2enmod rewrite +# Ubah port Apache ke 3000 (agar sesuai dengan default Coolify) +RUN sed -i 's/80/3000/g' /etc/apache2/sites-available/000-default.conf /etc/apache2/ports.conf + # Copy semua file project COPY . /var/www/html/ @@ -14,4 +17,4 @@ COPY . /var/www/html/ RUN chown -R www-data:www-data /var/www/html # Expose port Apache -EXPOSE 80 +EXPOSE 3000