Skip to content

Commit

Permalink
Use PHP 8.3 in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian committed Oct 10, 2024
1 parent 91e4ebd commit a23a95a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
FROM php:7.4-apache
FROM php:8.3-apache

RUN DEBIAN_FRONTEND=noninteractive \
apt-get update && \
apt-get install -y unzip

# Use the default production configuration
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"

RUN a2enmod rewrite

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

0 comments on commit a23a95a

Please sign in to comment.