Files
project-bootstrap/templates/deploy/docker/README.md
Bill 8dd4f0ca63 Initial commit: Complete project-bootstrap tool
- Bootstrap script for creating monorepo projects
- FastAPI backend templates with uv, ruff, mypy, pytest
- React frontend templates with TypeScript, ESLint, Prettier
- Docker Compose setup with backend, frontend, and database
- 9 development and CI scripts
- Gitea Actions CI/CD workflows
- Comprehensive documentation (8 files)
- 45 template files for complete project structure
- Automated verification script (all tests pass)
- Based on coding-agent-rules standards
2025-10-15 21:34:08 -04:00

742 B

Docker Configuration

This directory contains Dockerfiles for building container images.

Files

  • backend.Dockerfile - Backend service (FastAPI)
  • frontend.Dockerfile - Frontend service (React)

Building Images

Backend

docker build -f deploy/docker/backend.Dockerfile -t backend:latest ./backend

Frontend

docker build -f deploy/docker/frontend.Dockerfile -t frontend:latest ./frontend

Running with Docker Compose

From the project root:

docker compose -f deploy/compose.yml up

Production Builds

For production, consider:

  1. Multi-stage builds to reduce image size
  2. Non-root user for security
  3. Health checks
  4. Proper secret management
  5. Optimized layer caching