feat: docker support for v4 (closes #530)
2 files added
1 files modified
| New file |
| | |
| | | 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"] |
| New file |
| | |
| | | Quartz comes shipped with a Docker image that will allow you to preview your Quartz locally without installing Node. |
| | | |
| | | You can run the below one-liner to run Quartz in Docker. |
| | | |
| | | ```sh |
| | | docker run --rm -itp 8080:8080 $(docker build -q .) |
| | | ``` |
| | |
| | | |
| | | ## 🔧 Features |
| | | |
| | | - [[Obsidian compatibility]], [[full-text search]], [[graph view]], note transclusion, [[wikilinks]], [[backlinks]], [[Latex]], [[syntax highlighting]], [[popover previews]], and [many more](./features) right out of the box |
| | | - [[Obsidian compatibility]], [[full-text search]], [[graph view]], note transclusion, [[wikilinks]], [[backlinks]], [[Latex]], [[syntax highlighting]], [[popover previews]], [[Docker Support]], and [many more](./features) right out of the box |
| | | - Hot-reload for both configuration and content |
| | | - Simple JSX layouts and [[creating components|page components]] |
| | | - [[SPA Routing|Ridiculously fast page loads]] and tiny bundle sizes |