add docker
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
FROM php:8.2-apache
|
||||
|
||||
# Enable Apache mod_rewrite
|
||||
RUN a2enmod rewrite
|
||||
|
||||
# Install MySQL PDO extension
|
||||
RUN docker-php-ext-install pdo pdo_mysql
|
||||
|
||||
# Copy project files to Apache web root
|
||||
COPY . /var/www/html/
|
||||
|
||||
# Set permissions
|
||||
RUN chown -R www-data:www-data /var/www/html
|
||||
|
||||
EXPOSE 80
|
||||
Reference in New Issue
Block a user