HomeBlog

Posts tagged with: #Docker

Serving a React Frontend Application with FastAPI

July 30, 2025

Serving a React Frontend Application with FastAPI

A Guide to Serving Your Frontend and Backend from a Single Application

Learn how to serve a single page application (like React or Vue) directly from your FastAPI backend. This guide covers handling client-side routing, middleware order, CORS, and using a multi-stage Dockerfile for a unified deployment.

Read More...

Slimmer FastAPI Docker Images with Multi-Stage Builds

June 01, 2025

Slimmer FastAPI Docker Images with Multi-Stage Builds

Understanding Multi-Stage Builds in Docker

Learn how to use multi-stage builds in Docker to create smaller, more efficient images for your FastAPI applications.

Read More...

Deploying Reflex Front-End with Caddy in Docker

March 28, 2025

Deploying Reflex Front-End with Caddy in Docker

A step-by-step guide to building and serving Reflex static front-end files using Caddy in a Docker container

This blog post explains how to use Reflex to generate static front-end files and serve them using Caddy in a Docker container. It covers the Dockerfile setup, and Caddy configuration.

Read More...

Contact Me

Have a project in mind? Send me an email at hello@davidmuraya.com and let's bring your ideas to life. I am always available for exciting discussions.

© 2025 David Muraya. All rights reserved.