wildgrove.dev is an Astro backed static site. Day-to-day development still happens with Astro's local development server, while Docker gives the project a production-style build and serving workflow.
Use Astro's dev server when you are actively building the site:
npm run devThe Docker setup uses:
- a multi-stage
Dockerfileto build the site with Node nginxto serve the generateddist/outputcompose.ymlto start the site locally with one command
Start the containerized site locally:
docker compose up --buildThen open http://localhost:8080.
Build the Astro site without Docker:
npm run buildBuild the Docker image directly:
docker build -t wildgrove-dev .Run the Docker image directly:
docker run --rm -p 8080:80 wildgrove-dev