π³ Building a Blog Platform with Docker #5: Add a Dockerfile + Deploy to Clouderized Quick one-liner: Write a Dockerfile, build an image, and deploy to Clouderized with one git push so your Flask blog goes live with automatic HTTPS and zero server babysitting. π§ Before We Start: URL Control for Blogger Migration Before touching Docker, there's one fix from Episode 4 worth making now. Right now our platform builds URLs from the filename: hey-markdown.md becomes /2026/04/hey-markdown.html . That works for new posts, but not for migrated Blogger URLs: Blogger URL Filename-based URL /2026/03/docker-rootless-on-ubuntu-2026-guide.html /2026/03/docker-rootless-ubuntu.html We add canonical_url to frontmatter and use it for two things: The actual URL this platform serves the post at β so migrated posts keep their Blogger paths <link rel="canonical"> β tells Google this page is the same content as the old Blogger URL Update content/posts/hey-markdown.md : --- title : " Hey Markdown" date : 2026-04-25β¦