install required and recommended modules

This commit is contained in:
cupcakearmy 2019-05-31 22:46:34 +02:00
parent 26fdea5d30
commit 76f7bc28ca
2 changed files with 4 additions and 1 deletions

3
Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM wordpress:5-apache
RUN docker-php-ext-install pdo_mysql exif bcmath

View File

@ -7,7 +7,7 @@ x-default: &default
services: services:
wp: wp:
<<: *default <<: *default
image: wordpress:5-apache build: .
volumes: volumes:
- ./uploads.ini:/usr/local/etc/php/conf.d/uploads.ini:ro - ./uploads.ini:/usr/local/etc/php/conf.d/uploads.ini:ro
- ./data/wp:/var/www/html - ./data/wp:/var/www/html