Skip to content

Instantly share code, notes, and snippets.

@yujiod
Last active November 19, 2015 14:02
Show Gist options
  • Save yujiod/c1402e44e5042adbfade to your computer and use it in GitHub Desktop.
Save yujiod/c1402e44e5042adbfade to your computer and use it in GitHub Desktop.
Dockerfile example of WordPress with maker theme.
# 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