From 14c60e78182728fbabc05425809c5bfba9cfca5b Mon Sep 17 00:00:00 2001 From: Peaceultime Date: Thu, 14 Dec 2023 15:15:22 +0100 Subject: [PATCH] New Dockerfile --- .github/actions/deploy-quartz/Dockerfile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/actions/deploy-quartz/Dockerfile b/.github/actions/deploy-quartz/Dockerfile index 25a6c96..19a709a 100644 --- a/.github/actions/deploy-quartz/Dockerfile +++ b/.github/actions/deploy-quartz/Dockerfile @@ -1,11 +1,8 @@ FROM node:20-slim as builder WORKDIR /usr/src/app -COPY package.json . -COPY package-lock.json* . +RUN git clone https://github.com/jackyzha0/quartz.git +RUN cd quartz RUN npm ci -FROM node:20-slim -WORKDIR /usr/src/app -COPY --from=builder /usr/src/app/ /usr/src/app/ -COPY . . +COPY /workspace/Peaceultime/system-aspect /workspace/Peaceultime/system-aspect CMD ["npx", "quartz", "build", "-d", "/workspace/Peaceultime/system-aspect", "-o", "/output"] \ No newline at end of file