We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91e4ebd commit a23a95aCopy full SHA for a23a95a
Dockerfile
@@ -1,9 +1,12 @@
1
-FROM php:7.4-apache
+FROM php:8.3-apache
2
3
RUN DEBIAN_FRONTEND=noninteractive \
4
apt-get update && \
5
apt-get install -y unzip
6
7
+# Use the default production configuration
8
+RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
9
+
10
RUN a2enmod rewrite
11
12
RUN sed -i 's#DocumentRoot /var/www/html#DocumentRoot /var/www/html/web#' /etc/apache2/sites-available/000-default.conf
0 commit comments