Update .github/actions/deploy-quartz/Dockerfile

This commit is contained in:
Peaceultime committed 2023-12-14 22:33:06 +00:00
1 parent 799a63bd60
commit 1674f78eae
1 file changed
+4 -5
+4 -5
View File
@@ -1,11 +1,10 @@
FROM node:20-slim
WORKDIR /usr/src/app
COPY /workspace/Peaceultime/system-aspect/content/ /usr/src/content/
COPY /workspace/Peaceultime/system-aspect/quartz/ /usr/src/app/
COPY ./content/ ./content/
COPY ./quartz/ ./quartz/
RUN mkdir output
RUN cd quartz
RUN npm ci
CMD ["npx", "quartz", "build", "-d", "/usr/src/content", "-o", "/usr/src/output"]
CMD ["npx", "quartz", "build", "-d", "../content", "-o", "../output"]