11 lines
322 B
Docker
11 lines
322 B
Docker
FROM php:8.3-apache
|
|
|
|
# Enable the Apache modules our .htaccess relies on, and allow .htaccess overrides.
|
|
# Done before COPY so editing site files doesn't bust this layer.
|
|
RUN a2enmod expires headers deflate \
|
|
&& sed -ri 's/AllowOverride None/AllowOverride All/' /etc/apache2/apache2.conf
|
|
|
|
COPY . /var/www/html
|
|
|
|
EXPOSE 80
|