Docker
Quick start
Section titled “Quick start”tinkerise add dockerWhat it detects
Section titled “What it detects”The docker module checks whether either of these files already exists:
Dockerfile.dockerignore
If one or both files are present, the enhancement is considered installed.
What it installs
Section titled “What it installs”docker is config-only. It does not add packages.
It writes:
Dockerfile.dockerignore
Framework-aware behavior
Section titled “Framework-aware behavior”The module chooses a Docker template using project context and filesystem markers:
next/remix-> Next.js-style Node image flowreact/vue/svelte/astro-> Vite-style static build + nginx runtimerequirements.txtorpyproject.tomlcontainingfastapi/django-> Python image flowgo.mod-> Go image flowCargo.toml-> Rust image flow- fallback -> generic Node.js image flow
Each path gets a matching .dockerignore pattern set.
File and config changes
Section titled “File and config changes”- Creates multi-stage
Dockerfiletuned to detected framework type - Creates
.dockerignorewith framework-appropriate ignores - Adds no new dependencies
Conflict handling
Section titled “Conflict handling”When Docker files already exist, detection marks the module as installed. If writes conflict in interactive mode, tinkerise presents a diff and lets you choose replace or skip.