I fucked up :3

This commit is contained in:
2026-04-19 19:29:31 +02:00
parent b6a258b3cf
commit eacf0ab7fd
5 changed files with 8 additions and 9 deletions

View File

@@ -1,18 +1,13 @@
FROM php:8.3-apache
# Enable mod_rewrite for clean URLs
RUN a2enmod rewrite
# Install PHP extensions
RUN docker-php-ext-install pdo_mysql
# Copy Apache vhost config
COPY docker/apache.conf /etc/apache2/sites-available/000-default.conf
# Copy all project files into the container
COPY . /var/www/html
# Fix permissions
RUN chown -R www-data:www-data /var/www/html
WORKDIR /var/www/html