mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
The docker/server image runs as the unprivileged `node` user, which cannot write to /var/run. With `set -e` at the top of the script, the failed `touch` aborted execution after sentinel replacement but before the backend/dashboard were started — the Check server health CI step then saw connection refused on ports 8101/8102. Move the marker into $WORK_DIR (which is already created and owned by the running user). The emulator snapshot-resume path still benefits: the marker persists across supervisorctl restarts because $WORK_DIR lives on the container filesystem. |
||
|---|---|---|
| .. | ||
| .env | ||
| .env.example | ||
| Dockerfile | ||
| entrypoint.sh | ||