mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 11:36:23 +00:00
12 lines
246 B
Text
12 lines
246 B
Text
|
FROM node:20-slim as builder
|
||
|
WORKDIR /usr/src/app
|
||
|
COPY package.json .
|
||
|
COPY package-lock.json* .
|
||
|
RUN npm ci
|
||
|
|
||
|
FROM node:20-slim
|
||
|
WORKDIR /usr/src/app
|
||
|
COPY --from=builder /usr/src/app/ /usr/src/app/
|
||
|
COPY . .
|
||
|
CMD ["npx", "quartz", "build", "--serve"]
|