mirror of
https://github.com/alrayyes/wiki.git
synced 2025-05-28 10:07:18 +00:00
feat: docker support for v4 (closes #530)
This commit is contained in:
parent
f66d2c23ac
commit
da0a062c05
3 changed files with 19 additions and 1 deletions
11
Dockerfile
Normal file
11
Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
|||
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"]
|
Loading…
Add table
Add a link
Reference in a new issue