2022-11-21 01:03:53 +03:00
|
|
|
FROM alpine:3.16
|
|
|
|
|
|
|
|
RUN apk add --no-cache go hugo git make perl
|
2023-07-07 22:20:03 +03:00
|
|
|
RUN git config --global --add safe.directory '/quartz'
|
2022-11-21 01:03:53 +03:00
|
|
|
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"]
|