Files
splatoon3.ink/workers/compressor/Dockerfile.dockerignore
Matt Isenhower c053372361 Compress archive days in a Cloudflare Container
A separate compressor Worker runs app/data/ArchiveCompressor.mjs in a container (standard-1)
once a day at 00:30 UTC, against the archive Space. Its Durable Object starts the container
and keeps the last 30 runs with their log lines. An alarm every few seconds collects the
container's output from its log server and ends the run when the container reports its exit
code, so a run survives the object being evicted from memory.

Only dev is deployed; production waits until spectre stops compressing at the same time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 13:11:24 -08:00

8 lines
162 B
Docker

# The build context is the whole repository; send only what the image copies.
*
!package.json
!package-lock.json
!app
!workers/compressor/container
**/*.test.mjs