Last active
March 27, 2021 19:59
-
-
Save diegodorado/f7f7d1b4f465e99ba23ff447f000fcd1 to your computer and use it in GitHub Desktop.
Wordpress Dockerfile for small sites
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ARG WORDPRESS_DB_HOST | |
ARG WORDPRESS_DB_NAME | |
ARG WORDPRESS_TABLE_PREFIX | |
ARG WORDPRESS_DB_USER | |
ARG WORDPRESS_DB_PASSWORD | |
FROM wordpress:5.7 | |
# Don't run mpm for small sites | |
RUN sed -i 's/Servers.*/Servers 1/' /etc/apache2/mods-available/mpm_prefork.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment