20 lines
1.0 KiB
Markdown
20 lines
1.0 KiB
Markdown
# AGENTS.md
|
|
|
|
## Scope
|
|
- This repository packages a static web app with Nginx and a GitLab CI pipeline.
|
|
- Key files: [`.gitlab-ci.yml`](./.gitlab-ci.yml), [`Dockerfile`](./Dockerfile), [`nginx.conf`](./nginx.conf), and [`web/`](./web).
|
|
|
|
## Working Rules
|
|
- Keep changes minimal and focused on the CI file unless new project files are intentionally being added.
|
|
- Prefer `docker:dind` for this project unless the target runner is explicitly pinned and known to expose `/var/run/docker.sock`.
|
|
- If the runner setup changes, update the CI file and this document together.
|
|
|
|
## Validation
|
|
- For CI-only changes, prefer a targeted YAML parse and a diff review.
|
|
- For image/runtime changes, check the `Dockerfile`, Nginx config, and the CI job together.
|
|
- Do not add unnecessary local build artifacts or temporary files to the repository.
|
|
|
|
## Notes
|
|
- `docker:dind` requires a privileged Docker executor and `DOCKER_HOST=tcp://docker:2375` with `DOCKER_TLS_CERTDIR=""`.
|
|
- The `dind` daemon can take time to initialize; this repo waits for `docker info` before building.
|