# Tina4 Python — production Docker image. Generated by `tina4 deploy docker`.
# Slim two-stage build: install deps with uv into a virtualenv, copy the
# resolved tree into a runtime image. No SCSS watcher, no dev tooling.
# The tina4 CLI is installed in EVERY Tina4 image and is the launcher: one
# `tina4 serve --production` across all four languages instead of four
# different per-language entry points. It is a single static musl binary
# copied from a published image -- a layer copy, no toolchain, no compile,
# no network fetch at build time. Override with
# --build-arg TINA4_CLI_IMAGE=... to pin or test a different CLI.
=//-:.8.63
$
:3.12-
/
----
* ./
# uvicorn at BUILD time. `tina4 serve --production` checks for it and, if it is
# missing, runs `uv add uvicorn` AT CONTAINER START -- a network install on every
# boot, which fails outright in an air-gapped or offline deploy. Pre-installing
# makes the production check a no-op.
-- --- &&
:3.12-
/
--= //// ////
= \
= \
=
--= //. //.
. /
7146
# One launcher for all four languages. --host defaults to 0.0.0.0, which is
# required: a server bound to 127.0.0.1 inside a container is unreachable
# through `docker run -p`. --no-browser because there is no browser here.