Files
gps-denied-onboard/.cursor/rules/docker.mdc
T
Oleksandr Bezdieniezhnykh 1f634c2604
ci/woodpecker/push/02-build-push Pipeline failed
Update demo replay validation and testing documentation
- Modified the autodev state to reflect the current testing phase and details of the new `jetson-e2e` tests.
- Enhanced the "How to Test" documentation to provide clearer instructions on the demo replay validation process, including video and tlog alignment steps.
- Updated architectural documentation to include the new demo replay operator flow and its dependencies.
- Documented the removal of deprecated auto-sync features and clarified the operator-facing UI for replay validation.
- Added new entries in the dependencies table for upcoming tasks related to the demo replay flow.

These changes improve clarity and usability for operators and developers working with the demo replay system.
2026-06-20 11:24:43 +03:00

16 lines
776 B
Plaintext

---
description: "Docker and Docker Compose conventions: multi-stage builds, security, image pinning, health checks"
globs: ["**/Dockerfile*", "**/docker-compose*", "**/.dockerignore"]
---
# Docker
- Use multi-stage builds to minimize image size
- Pin base image versions (never use `:latest` in production)
- Use `.dockerignore` to exclude build artifacts, `.git`, `node_modules`, etc.
- Run as non-root user in production containers
- Use `COPY` over `ADD`; order layers from least to most frequently changed
- Use health checks in docker-compose and Dockerfiles
- Use named volumes for persistent data; never store state in container filesystem
- Centralize environment configuration; use `.env` files only for local dev
- Keep services focused: one process per container