Skip to content

Commit a23a95a

Browse files
committed
Use PHP 8.3 in Dockerfile
1 parent 91e4ebd commit a23a95a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
FROM php:7.4-apache
1+
FROM php:8.3-apache
22

33
RUN DEBIAN_FRONTEND=noninteractive \
44
apt-get update && \
55
apt-get install -y unzip
66

7+
# Use the default production configuration
8+
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
9+
710
RUN a2enmod rewrite
811

912
RUN sed -i 's#DocumentRoot /var/www/html#DocumentRoot /var/www/html/web#' /etc/apache2/sites-available/000-default.conf

0 commit comments

Comments
 (0)