ghost/ghost/Dockerfile

18 lines
403 B
Docker
Raw Normal View History

2020-09-25 08:11:19 +00:00
ARG REGISTRY
FROM ${REGISTRY}alpine/git:v2.26.2 as git
2020-05-10 17:47:39 +00:00
WORKDIR /themes
2020-10-22 15:07:21 +00:00
ARG THEME=https://sigyl.com/git/themes/casper.git
RUN git clone ${THEME}
2020-05-10 17:47:39 +00:00
2020-09-25 08:11:19 +00:00
FROM ${REGISTRY}ghost:3.14.0
2020-05-10 17:47:39 +00:00
# USER root
RUN apt-get update
RUN apt-get install -y gettext
COPY config.production.json.template /var/lib/ghost/
2020-05-10 17:47:39 +00:00
COPY --from=git /themes/ /var/lib/ghost/content/themes/
COPY post.hbs /hbs/
COPY run.sh /
CMD ["sh", "/run.sh"]