Clearing branch for fresh Inertia + Vue setup

This commit is contained in:
2025-09-06 10:04:11 +02:00
parent c8ab71b92a
commit 4cb4859fe3
157 changed files with 0 additions and 19938 deletions

View File

@@ -1,18 +0,0 @@
FROM php:8.3-apache
RUN apt-get update && apt-get install -y libpq-dev libzip-dev unzip libpng-dev libjpeg-dev libfreetype6-dev libicu-dev && \
docker-php-ext-install pdo_pgsql pgsql zip bcmath gd intl
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
apt-get install -y nodejs && \
npm install -g npm@latest
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && \
php composer-setup.php --install-dir=/usr/local/bin --filename=composer && \
rm composer-setup.php
WORKDIR /var/www/html
COPY . .
RUN composer install --no-dev --optimize-autoloader
RUN npm install && npm run build
COPY apache.conf /etc/apache2/sites-available/000-default.conf
RUN a2enmod rewrite
RUN chown -R www-data:www-data /var/www/html/storage /var/www/html/bootstrap/cache
EXPOSE 80
CMD ["apache2-foreground"]