ghost/ghost/Dockerfile

21 lines
395 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:2-alpine
# USER root
RUN apk update
RUN apk add 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"]