From 76f7bc28cac3ccfae6228bf4a240edb7c0bd6693 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Fri, 31 May 2019 22:46:34 +0200 Subject: [PATCH] install required and recommended modules --- Dockerfile | 3 +++ docker-compose.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..679634e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM wordpress:5-apache + +RUN docker-php-ext-install pdo_mysql exif bcmath \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index eaf0343..25de1c7 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,7 +7,7 @@ x-default: &default services: wp: <<: *default - image: wordpress:5-apache + build: . volumes: - ./uploads.ini:/usr/local/etc/php/conf.d/uploads.ini:ro - ./data/wp:/var/www/html