Create dockerfile
This commit is contained in:
25
dockerfile
Normal file
25
dockerfile
Normal 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
|
||||||
Reference in New Issue
Block a user