@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 06:00 UTC

main
text 11 lines 732 Bytes
Raw
1 # The ECS half of the dev-stress stack. The stress suite edits this file IN
2 # PLACE while `alchemy dev` runs (the BAKED_MARKER line), edits index.html
3 # next to it, and changes the service's env prop — three different ways a
4 # "docker file" changes, each of which must hot-reload the running task.
5 FROM busybox:stable
6 COPY index.html /www/index.html
7 ENV BAKED_MARKER=dockerfile-v1
8 # Write the baked marker AND the runtime env marker at startup, then serve.
9 # /baked.txt proves an image rebuild landed; /env.txt proves a task restart
10 # picked up new task-definition env (no rebuild involved).
11 CMD ["sh", "-c", "echo -n \"$BAKED_MARKER\" > /www/baked.txt && echo -n \"$STRESS_ENV\" > /www/env.txt && exec httpd -f -p 8796 -h /www"]