2023-10-08 09:59:18 -07:00
|
|
|
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
|
2025-03-06 10:01:25 -08:00
|
|
|
docker run --rm -itp 8080:8080 -p 3001:3001 -v ./content:/usr/src/app/content $(docker build -q .)
|
2023-10-08 09:59:18 -07:00
|
|
|
```
|
2026-01-08 09:04:56 +08:00
|
|
|
|
|
|
|
|
> [!warning] Not to be used for production
|
|
|
|
|
> Serve mode is intended for local previews only.
|
|
|
|
|
> For production workloads, see the page on [[hosting]].
|