feat: Dockerfile and automated container build ()

This commit is contained in:
Apoorv Khandelwal 2022-11-20 17:03:53 -05:00 committed by GitHub
parent de2b6b9a1b
commit c12af32a5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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"]