Fix docker build: entrypoint case, optional SYNC_CMD, portable CI owner #1
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/docker-entrypoint-case"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Blocks every docker build and one runtime crash. Three changes:
Entrypoint.sh->entrypoint.sh(rename) — the Dockerfile doesCOPY entrypoint.sh; Docker COPY is case-sensitive on Linux, so every build failed with file-not-found.SYNC_CMDis now optional — withset -u, an unsetSYNC_CMDcrashed the container the first time it started already-initialised. Now: noSYNC_CMD= serve only; with it = sync loop (default interval 900s, unchanged).GITHUB_REPOSITORYinstead ofgithub.repository_owner— less context-dependent across act-based CI; image name is unchanged (nidavellir.jriyuu.io/jriyuu-labs/gbrain).gbrain init, thendocker restart), sync loop usage.