Update and rename dockerfile to Dockerfile
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
FROM php:8.3-apache
|
||||
|
||||
# Install commonly used PHP extensions
|
||||
# Install system dependencies
|
||||
RUN apt-get update && apt-get install -y \
|
||||
libpng-dev \
|
||||
libjpeg-dev \
|
||||
@@ -11,6 +11,7 @@ RUN apt-get update && apt-get install -y \
|
||||
libonig-dev \
|
||||
libxml2-dev \
|
||||
curl \
|
||||
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
|
||||
&& docker-php-ext-install \
|
||||
pdo \
|
||||
pdo_mysql \
|
||||
@@ -19,7 +20,8 @@ RUN apt-get update && apt-get install -y \
|
||||
zip \
|
||||
gd \
|
||||
curl \
|
||||
xml
|
||||
xml \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Enable Apache mod_rewrite
|
||||
RUN a2enmod rewrite
|
||||
Reference in New Issue
Block a user