Last updated: 2026-04-01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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). |