From 5809218e742532217adea8702dfcf98c46ee2a30 Mon Sep 17 00:00:00 2001 From: Ryanpratama01 <220441100098@student.trunojoyo.ac.id> Date: Mon, 16 Mar 2026 02:03:12 +0700 Subject: [PATCH] hapus file render dan docker yang tidak dipakai --- Dockerfile | 35 ----------------------------------- render-apache.conf | 12 ------------ 2 files changed, 47 deletions(-) delete mode 100644 Dockerfile delete mode 100644 render-apache.conf diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 1331cda..0000000 --- a/Dockerfile +++ /dev/null @@ -1,35 +0,0 @@ -FROM php:8.2-apache - -RUN apt-get update && apt-get install -y \ - git \ - unzip \ - libpq-dev \ - libzip-dev \ - zip \ - curl \ - python3 \ - python3-pip \ - && docker-php-ext-install pdo pdo_pgsql pgsql zip - -COPY --from=composer:2 /usr/bin/composer /usr/bin/composer - -WORKDIR /var/www/html - -COPY . /var/www/html - -RUN composer install --no-dev --optimize-autoloader - -RUN if [ -f requirements.txt ]; then pip3 install -r requirements.txt; fi - -RUN a2enmod rewrite - -RUN chown -R www-data:www-data /var/www/html \ - && chmod -R 775 /var/www/html/storage /var/www/html/bootstrap/cache - -COPY render-apache.conf /etc/apache2/sites-available/000-default.conf - -EXPOSE 80 - -CMD php artisan config:clear && \ - php artisan cache:clear && \ - apache2-foreground \ No newline at end of file diff --git a/render-apache.conf b/render-apache.conf deleted file mode 100644 index f676abc..0000000 --- a/render-apache.conf +++ /dev/null @@ -1,12 +0,0 @@ - - ServerAdmin webmaster@localhost - DocumentRoot /var/www/html/public - - - AllowOverride All - Require all granted - - - ErrorLog ${APACHE_LOG_DIR}/error.log - CustomLog ${APACHE_LOG_DIR}/access.log combined - \ No newline at end of file