Create dockerfile

This commit is contained in:
2025-06-18 11:01:57 -06:00
committed by GitHub
commit 57740eba89

25
dockerfile Normal file
View File

@@ -0,0 +1,25 @@
FROM php:8.3-apache
# Install commonly used PHP extensions
RUN apt-get update && apt-get install -y \
libpng-dev \
libjpeg-dev \
libfreetype6-dev \
libzip-dev \
zip \
unzip \
libonig-dev \
libxml2-dev \
curl \
&& docker-php-ext-install \
pdo \
pdo_mysql \
mysqli \
mbstring \
zip \
gd \
curl \
xml
# Enable Apache mod_rewrite
RUN a2enmod rewrite