94137c6586
The generated entrypoint used a brittle invocation that could spawn a non-interactive bash and exit immediately, causing containers to stop with exit code 0 right after startup. - Switch to so the container user gets a login shell and stdin/tty are preserved - Update the unit test assertion for the new drop-privileges command Quality gates: - pytest tests/unit: 219 passed - ruff: clean on changed files - mypy: clean on changed files
52 lines
1.4 KiB
Markdown
52 lines
1.4 KiB
Markdown
# apps/api (index)
|
|
dir: apps/api
|
|
|
|
## role
|
|
Backend API service that provides a FastAPI-based management layer for projects, git repositories, and containerized development tools with database-backed state.
|
|
## parent
|
|
index: apps/.pi-map.index.md
|
|
map: apps/.pi-map.md
|
|
## children
|
|
- apps/api/.mypy_cache
|
|
index: apps/api/.mypy_cache/.pi-map.index.md
|
|
map: apps/api/.mypy_cache/.pi-map.md
|
|
- apps/api/.pi-lens
|
|
index: apps/api/.pi-lens/.pi-map.index.md
|
|
map: apps/api/.pi-lens/.pi-map.md
|
|
- apps/api/.pytest_cache
|
|
index: apps/api/.pytest_cache/.pi-map.index.md
|
|
map: apps/api/.pytest_cache/.pi-map.md
|
|
- apps/api/.ruff_cache
|
|
index: apps/api/.ruff_cache/.pi-map.index.md
|
|
map: apps/api/.ruff_cache/.pi-map.md
|
|
- apps/api/.venv-test
|
|
index: apps/api/.venv-test/.pi-map.index.md
|
|
map: apps/api/.venv-test/.pi-map.md
|
|
- apps/api/alembic
|
|
index: apps/api/alembic/.pi-map.index.md
|
|
map: apps/api/alembic/.pi-map.md
|
|
- apps/api/src
|
|
index: apps/api/src/.pi-map.index.md
|
|
map: apps/api/src/.pi-map.md
|
|
- apps/api/tests
|
|
index: apps/api/tests/.pi-map.index.md
|
|
map: apps/api/tests/.pi-map.md
|
|
- apps/api/uploads
|
|
index: apps/api/uploads/.pi-map.index.md
|
|
map: apps/api/uploads/.pi-map.md
|
|
## files
|
|
- .dockerignore
|
|
- Dockerfile
|
|
- README.md
|
|
- alembic.ini
|
|
- pyproject.toml
|
|
- uv.lock
|
|
- wait-for-db.sh
|
|
## links
|
|
index: apps/api/.pi-map.index.md
|
|
map: apps/api/.pi-map.md
|
|
## workflows
|
|
-
|
|
## dirty
|
|
-
|