I want to set up my GhostCMS theme development environment with Ghost's official Docker image. For that, I am making a container with the following command:
docker run -d --rm -e NODE_ENV=development -p 3001:2368 -v $PWD:/var/lib/ghost/current/content/themes/customtheme ghost
Notice that:
- I am using the volume (-v) flag to pass my theme's path.
- I get into the container and make a symbolic link from the directory
/var/lib/ghost/current/content/themes/customthemeinto/var/lib/ghost/content/themes/customtheme.
The theme will appear in the theme selection menu of GhostCMS's admin dessign settings. Yet, when I try to select it, it fails with:
What am I doing wrong? What is the correct way to use GhostCMS's image for development if any?
