Google Cloud Run adds Static runtime: deploy a static site in 8 seconds, no Dockerfile
rseroter · x · 2026-12-04
Google Cloud Run now supports a Static runtime that deploys static sites directly from source — no Dockerfile or web server config needed. The author built a demo with Antigravity and deployed in 8 seconds.
Key details from the docs:
- Zero-config: point Cloud Run at any directory containing index.html
- Preconfigured optimized Nginx (sendfile, tcpnopush, tcpnodelay, open-file caching)
- Built-in dynamic gzip compression plus precompressed asset serving
- Clean URLs (/about → /about.html) and automatic SPA fallback to /index.html
- Security defaults: nosniff headers, hidden files like .git/.env blocked, runs as non-root; automatic Nginx/OS patching via base image updates
- Supports SPA outputs (React/Vue/Angular) and SSG exports (Astro, Hugo, Jekyll, Eleventy, Next.js/Nuxt)
- Automatic ETag and Last-Modified caching headers
More from coding & agent
- Antigravity agent accepts absurd dare to draw a figure in C++ feature by feature — MickeySteamboat · 2026-12-06
- Chrome DevTools for Agents Lets AI Test and Optimize Real Websites in Google Antigravity — goyalshaliniuk · 2026-12-06
- Solo Dev: AI Finally Makes Building a Game Entirely Alone Possible — yacineMTB · 2026-12-06
- Duke brings Rashomon-set geometry and a +18pt programmatic-memory agent to NeurIPS — shuyanzh36 · 2026-12-06
- Open-source Blender skills let AI agents produce full 3D animation pipeline in Python — Promptmethus · 2026-12-06
- Three questions to ask before automating anything: cadence, human review, failure signals — jesseweimer · 2026-12-06