mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-04-23 04:26:36 +00:00
Update README to reflect changes in test infrastructure organization and task decomposition workflow. Remove obsolete E2E test templates and clarify input specifications for integration tests. Enhance documentation for planning and implementation phases, including new directory structures and task management processes.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
---
|
||||
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
|
||||
Reference in New Issue
Block a user