A WordPress Docker image that automatically copies custom themes and plugins from mounted volumes at container startup.
wordpress:php8.2-fpmdocker run -d \
-p 8080:80 \
-v /path/to/your/custom-themes:/external/custom-themes \
-v /path/to/your/custom-plugins:/external/custom-plugins \
wakeflybrabidou/wordpress-copy:latest
version: '3.8'
services:
wordpress:
image: wakeflybrabidou/wordpress-copy:latest
ports:
- "8080:80"
volumes:
- ./custom-themes:/external/custom-themes
- ./custom-plugins:/external/custom-plugins
environment:
WORDPRESS_DB_HOST: db
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: wordpress
WORDPRESS_DB_NAME: wordpress
/external/custom-themes - Mount your custom themes directory here/external/custom-plugins - Mount your custom plugins directory hereThe container will automatically copy contents from these mounted directories to the appropriate WordPress locations at startup.
This repository includes automated Docker Hub deployment via GitHub Actions. The workflow builds and pushes images on:
custom-themes/ directorycustom-plugins/ directoryContent type
Image
Digest
sha256:4562312ac…
Size
246.8 MB
Last updated
11 months ago
docker pull wakeflybrabidou/wordpress-copy