Giles Bradshaw 1 year ago
parent
commit
dd110d26f1
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      ghost/Dockerfile
  2. +1
    -1
      ghost/run.sh

+ 1
- 1
ghost/Dockerfile View File

@@ -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"]

+ 1
- 1
ghost/run.sh View File

@@ -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"