一键导入
dockerfile-angular-correct-usage
Use this skill when building Docker images for Angular applications to ensure efficient, secure, and production-ready deployments.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use this skill when building Docker images for Angular applications to ensure efficient, secure, and production-ready deployments.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use this skill when building, optimizing, or deploying Docker images for Spring Boot applications.
Use this skill when designing, structuring, or refactoring Spring Boot applications using Clean Architecture principles.
Use this skill when managing database transactions in Spring Boot applications to ensure data consistency, integrity, and correct transactional boundaries.
Use this skill when designing or refactoring data transfer and mapping in Spring Boot applications to ensure separation between API, domain, and infrastructure models.
Use this skill when handling, structuring, or refactoring error management in Spring Boot applications to ensure consistency, clarity, and separation of concerns.
Use this skill when implementing authentication and authorization in Spring Boot applications using JWT in a secure and scalable way.
| name | dockerfile-angular-correct-usage |
| description | Use this skill when building Docker images for Angular applications to ensure efficient, secure, and production-ready deployments. |
When building Docker images for Angular:
Use multi-stage builds:
Base images:
Build rules:
npm ci instead of npm installng build --configuration production)/distRuntime rules:
index.html for SPA routingSecurity:
Ports:
Configuration:
Caching optimization:
Image tagging:
Reproducibility:
Avoid:
npm install in production buildsDocker images must be minimal, reproducible, and optimized for static delivery. Always prioritize performance, caching efficiency, and security.