Skip to content
All recipes
Blog

Deploy Astro blog

A static Markdown or MDX blog where posts, images and layouts stay versioned with the code.

Why use it

Publish articles, documentation or release notes from Markdown without running a database.

Build plan

  1. Build the Astro project in static mode and keep posts in content collections.
  2. Add a multi-stage Dockerfile that copies the dist output into a small web-server image.
  3. Serve the generated site on port 80 and verify the homepage, a post and the RSS feed.

Resources and values

Resources
1 ServiceNo database
Required values
No required values for a static blog
Check before you deploy

Comments, forms and full-text search need an HTTPS API or a separate application; the static blog itself needs no database.

Ask your coding agent

Prepare this Astro blog for aidrop as a static site. Keep posts and images in the repository, run npm run build and add a multi-stage Dockerfile that serves dist on port 80. Use / as the health path. Verify the homepage, one article, tag pages and the RSS feed if present, then deploy and return the public address. Do not add a database unless the current code actually needs one.

Put Astro blog online

Connect your coding agent, paste the quickstart and keep the build, runtime and public address in one aidrop Project.

7 days free · No credit card required