feat: add Gitea CI workflow and production Containerfile
Bake source into the image (COPY src/) so production containers run without volume mounts. CI pipeline runs ruff + pytest then builds and pushes harbor.mymx.me/s5p/s5p:latest on push to main. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -57,8 +57,13 @@ make logs # podman-compose logs -f
|
||||
make down # podman-compose down
|
||||
```
|
||||
|
||||
Source, config, and data are bind-mounted, not baked into the image.
|
||||
Pool state and profile output persist in `~/.cache/s5p/` (`/data` inside container).
|
||||
Production images bake source into the image. Config and data are mounted
|
||||
at runtime. Pool state and profile output persist in `~/.cache/s5p/`
|
||||
(`/data` inside container). The compose.yaml volume mount overrides
|
||||
source for local dev.
|
||||
|
||||
CI (Gitea Actions) runs lint + tests on push to `main`, then builds and
|
||||
pushes `harbor.mymx.me/s5p/s5p:latest`.
|
||||
|
||||
## Configuration
|
||||
|
||||
|
||||
Reference in New Issue
Block a user