quartz/Dockerfile
Morgan Patterson 9450278680
Update Dockerfile (#335)
Fix #305
2023-07-07 12:20:03 -07:00

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"]