513 B
513 B
Hooks
Each *.sh file here runs when the container starts, with your project available
at /code. They run in name order, so prefix them with numbers (10-, 20-)
to control the sequence.
Because they run every launch, keep them quick and make them safe to re-run — check whether the work is already done before doing it. If one fails, startup stops rather than continuing half-configured.
Edits take effect on the next launch (no rebuild needed). Rename a
*.sh.example file to *.sh to turn it on.