FROM nginx:stable-alpine3.20 COPY default.conf.template /etc/nginx/templates/default.conf.template RUN apk --no-cache add nodejs npm bash dumb-init git busybox-suid && \ rm -rf /var/cache/apk/* WORKDIR /quartz ENV CONTENT_REPO="" ENV NGINX_PORT=80 ENV SERVER_NAME="quartz.zhao.xyz" ENV ENABLE_CRON="false" ENV BUILD_SCHEDULE="*/5 * * * *" COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh ENTRYPOINT ["dumb-init", "--"] CMD ["/entrypoint.sh"] LABEL org.opencontainers.image.source="https://code.modernleft.org/gravityfargo/quartz-docker" LABEL org.opencontainers.image.url="https://quartz.jzhao.xyz/" LABEL org.opencontainers.image.description="A docker image for Quartz, a static site generator." LABEL org.opencontainers.image.licenses="MIT" LABEL org.opencontainers.image.authors="Nathan Price "