9450278680
Fix #305
12 lines
307 B
Docker
12 lines
307 B
Docker
FROM alpine:3.16
|
|
|
|
RUN apk add --no-cache go hugo git make perl
|
|
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"]
|