diff --git a/ghost/Dockerfile b/ghost/Dockerfile index 4ebde77..33bd57d 100644 --- a/ghost/Dockerfile +++ b/ghost/Dockerfile @@ -4,6 +4,6 @@ RUN apt-get update RUN apt-get install -y gettext COPY config.production.json /var/lib/ghost/ -COPY post.hbs /var/lib/ghost/content/themes/casper/ +COPY post.hbs /hbs COPY run.sh / CMD ["sh", "/run.sh"] diff --git a/ghost/run.sh b/ghost/run.sh index 49eaaef..d457f2a 100644 --- a/ghost/run.sh +++ b/ghost/run.sh @@ -1,3 +1,3 @@ envsubst < /var/lib/ghost/config.production.json > __tmp && mv __tmp /var/lib/ghost/config.production.json -envsubst < /var/lib/ghost/content/themes/casper/post.hbs > __tmp && mv __tmp /var/lib/ghost/content/themes/casper/post.hbs +envsubst < /hbs/post.hbs > /var/lib/ghost/content/themes/casper/post.hbs node "current/index.js"