From ba7102063ecc089a520d6250b5cd8a4548efd840 Mon Sep 17 00:00:00 2001 From: Bofh Date: Sat, 17 Dec 2022 13:33:35 +0100 Subject: [PATCH] Change Dockerfile FROM image to -apache flavour (-cli is only for dev) --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3fe8956..5b1f4e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,9 @@ -FROM php:8.0 +FROM php:8.0-apache RUN apt-get update && apt-get install libpq-dev -y RUN docker-php-ext-install pgsql RUN pecl install redis && docker-php-ext-enable redis + +RUN echo 'Listen 8080' > /etc/apache2/ports.conf + +EXPOSE 8080