feat: Dockerfile and automated container build (#230)

This commit is contained in:
Apoorv Khandelwal
2022-11-20 17:03:53 -05:00
committed by GitHub
parent 64c3e75651
commit 9d6cad7621
5 changed files with 120 additions and 1 deletions

10
Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM alpine:3.16
RUN apk add --no-cache go hugo git make perl
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"]