ghost/ghost/Dockerfile

17 lines
375 B
Docker

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