Public Repository

Last pushed: 2 years ago
Short Description
Image for a Ghost blog, based on alpine linux
Full Description

This is a docker image for running a Ghost blog. Based on the official Ghost image, and some extra help from ptimof's docker-ghost. Now uses alpine-node as the base to reduce the image size by 56% (from 354mb to 154mb).

During the image build process it also installs the modclean npm package which then reduces the size of the node_modules folder.


You should mount a volume to persist the blog contents, and also provide the URL that the blog will be accessible at with an environment variable:

docker run -d --name ghost_blog \
  -e "GHOST_URL=http://ghostblog.docker" \
  -v /pathto/local/ghost/folder:/var/lib/ghost \
Docker Pull Command