Skip to content

Instantly share code, notes, and snippets.

@rpalermodrums
rpalermodrums / CC_ARCHITECTURE.md
Last active April 1, 2026 21:58
CC architecture guide
# This is a multi-stage Dockerfile that builds a production image for our Flask application.
# The final image is used to run the application in local and remote environments, as well as in CI/CD.
# It is configured to use the following build args. These can be set using the --build-arg flag or in docker-compose.yml files:
# 1. INSTALL_GROUPS: A comma-separated list of dependency groups from the pyproject.toml file to install (default: main,build).
# 2. PORT: The default port for the application (default: 5000).
# The Dockerfile is organized into the following stages:
# 1. base: Sets up common environment variables and updates apt's package list.
# 2. build-deps: Installs build dependencies (currently uv).