ghost/ghost/Dockerfile

18 lines
403 B
Docker

ARG REGISTRY
FROM ${REGISTRY}alpine/git:v2.26.2 as git
WORKDIR /themes
ARG THEME=https://sigyl.com/git/themes/casper.git
RUN git clone ${THEME}
FROM ${REGISTRY}ghost:3.14.0
# USER root
RUN apt-get update
RUN apt-get install -y gettext
COPY config.production.json.template /var/lib/ghost/
COPY --from=git /themes/ /var/lib/ghost/content/themes/
COPY post.hbs /hbs/
COPY run.sh /
CMD ["sh", "/run.sh"]