From 5ccc2dcbba3bfeca2d9edc39209d43d217eb2a80 Mon Sep 17 00:00:00 2001
From: Sohum <31165513+ssmendon@users.noreply.github.com>
Date: Tue, 03 Dec 2024 09:52:51 +0000
Subject: [PATCH] fix(head): update open-graph width and height protocol per ogp (#1512)

---
 Dockerfile |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index ac5e8de..4493853 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,10 +1,11 @@
-FROM alpine:3.16
+FROM node:20-slim AS builder
+WORKDIR /usr/src/app
+COPY package.json .
+COPY package-lock.json* .
+RUN npm ci
 
-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"]
+FROM node:20-slim
+WORKDIR /usr/src/app
+COPY --from=builder /usr/src/app/ /usr/src/app/
+COPY . .
+CMD ["npx", "quartz", "build", "--serve"]

--
Gitblit v1.10.0