Last active
April 25, 2023 12:57
-
-
Save serainville/377eaa11f54aef0d38d1adebf5160550 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
FROM wordpress | |
# Set environment variables used by the Wordpress image | |
# DB_USER and DB_PASSWORD are included as an example. However, | |
# these should be removed and set during docker run. | |
ENV WORDPRESS_DB_HOST=127.0.0.1 \ | |
WORDPRESS_DB_USER=wpuser \ | |
WORDPRESS_DB_PASSWORD=super-secret-password \ | |
WORDPRESS_DB_NAME=wpsite \ | |
WORDPRESS_TABLE_PREFIX=wp_ | |
COPY plugins/ /var/www/html/wp-content/plugins | |
COPY themes/ /var/www/html/wp-content/themes | |
COPY uploads/ /var/www/html/wp-content/uploads |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment