You've already forked system-aspect
New Dockerfile
Some checks failed
Deploy Quartz site to GitHub Pages / build (push) Failing after 12s
Some checks failed
Deploy Quartz site to GitHub Pages / build (push) Failing after 12s
This commit is contained in:
9
.github/actions/deploy-quartz/Dockerfile
vendored
9
.github/actions/deploy-quartz/Dockerfile
vendored
@@ -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"]
|
||||
Reference in New Issue
Block a user