From 60ae19a5e03e0f32d833e042916d2cffa8ffd2ff Mon Sep 17 00:00:00 2001 From: Louis Vallat Date: Mon, 9 Nov 2020 10:13:00 +0100 Subject: [PATCH] Initial commit Signed-off-by: Louis Vallat --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b9cc11a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM php:7.4-apache +EXPOSE 80 +RUN apt-get update \ + && apt-get install -y wget \ + && wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_amd64.deb -O /tmp/modpagespeed.deb \ + && dpkg -i /tmp/modpagespeed.deb \ + && rm /tmp/modpagespeed.deb \ + && service apache2 restart +RUN docker-php-ext-install -j$(nproc) opcache pdo_mysql mysqli \ No newline at end of file