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