quartz-research-note/Dockerfile

12 lines
307 B
Docker
Raw Normal View History

FROM alpine:3.16
RUN apk add --no-cache go hugo git make perl
2023-07-07 19:20:03 +00:00
RUN git config --global --add safe.directory '/quartz'
RUN go install github.com/jackyzha0/hugo-obsidian@latest
ENV PATH="/root/go/bin:$PATH"
RUN git clone https://github.com/jackyzha0/quartz.git /quartz
WORKDIR /quartz
CMD ["make", "serve"]