Last active
November 19, 2015 14:02
-
-
Save yujiod/c1402e44e5042adbfade to your computer and use it in GitHub Desktop.
Dockerfile example of WordPress with maker theme.
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
# Usage: | |
# curl -o maker.zip https://downloads.wordpress.org/theme/maker.0.1.7.zip | |
# unzip maker.zip | |
# docker build -t docker-wp-with-theme-example . | |
# docker run -d --name wpmysql -e MYSQL_ROOT_PASSWORD=SUqUpxm8PYVzdY6V mysql | |
# docker run -d --name wp --link wpmysql:mysql -d -p 8080:80 docker-wp-with-theme-example | |
# open http://192.168.99.100:8080/ | |
FROM wordpress | |
ADD maker /usr/src/wordpress/wp-content/themes/maker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment