From 2b39bd93f38414d7fb03458bbb51252ada194df0 Mon Sep 17 00:00:00 2001 From: Silviu LorenČ› <124451350+smilorent@users.noreply.github.com> Date: Sun, 11 Feb 2024 19:23:58 +0000 Subject: [PATCH] feat(i18n): localize the `min read` string for the `ro-RO` locale (#847) --- Dockerfile | 19 ++++++++++--------- 1 files changed, 10 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index ac5e8de..1d9e591 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