This codebase builds a static Hyde site with Docker and ships the generated public/ folder through Vercel. The repo itself stays committed only to the source files; public/ is ignored and refreshed per–deploy.
- Docker + docker-compose
- Vercel CLI (
npm i -g vercel) authenticated against thejamesclarkeproject
Run vercel pull --yes once per environment (or whenever Vercel settings change) so the local CLI has the right project/production config cached.
docker-compose build jamesclarkenet
docker-compose run --rm jamesclarkenetThe compose file mounts the repo at /usr/src/jamesclarke and ./public at /public, so Hyde runs inside the container and writes new artifacts straight into public/.
-
Preview
vercel deploy public # or skip Vercel’s rebuild if you trust the local output: vercel deploy --prebuilt publicInspect the preview URL that Vercel returns.
-
Production
vercel deploy --prod public # or: vercel deploy --prod --prebuilt publicThis publishes the current
public/contents to the live domain once you are satisfied with the preview.