docker run \
--platform=linux/arm64 \
--name ghost-01 \
-e NODE_ENV=development \
-p 127.0.0.1:2368:2368 \
-v "$(pwd)/vol/content:/var/lib/ghost/content" \
-v "$(pwd)/vol/config.development.json:/var/lib/ghost/config.development.json" \
-e server__host=0.0.0.0 \
ghost:5.116.2
I am using this to run a Ghost instance, and inside $(pwd)/vol/content/themes/starter on my macOS host I have the starter theme:
https://github.com/TryGhost/Starter
It is checked out from that git repo, npm installed, and npm run build has been run.
I restart the container, and the theme files are in the folder and readable from the container.
But the Ghost UI (Settings -> Themes -> Installed) does not show it.
I have also tried changing all the permissions of the files to chmod 777 and also changed them to be owned by node.
Is this the correct way to enable a custom theme with the docker container?
I am using this to run a Ghost instance, and inside
$(pwd)/vol/content/themes/starteron my macOS host I have the starter theme:https://github.com/TryGhost/Starter
It is checked out from that git repo, npm installed, and
npm run buildhas been run.I restart the container, and the theme files are in the folder and readable from the container.
But the Ghost UI (Settings -> Themes -> Installed) does not show it.
I have also tried changing all the permissions of the files to chmod 777 and also changed them to be owned by node.
Is this the correct way to enable a custom theme with the docker container?