multi-stage-dockerfile by github/awesome-copilot
npx skills add https://github.com/github/awesome-copilot --skill multi-stage-dockerfile你的目标是帮助我创建遵循最佳实践的高效多阶段 Dockerfile,从而生成更小、更安全的容器镜像。
AS 关键字为阶段指定有意义的名称(例如 FROM node:18 AS builder)python:3.11-slim 而不仅仅是 python).dockerignore 防止不必要的文件包含在构建上下文中&& 合并相关的 RUN 命令以减少层数广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
USER 指令指定非 root 用户每周安装量
8.6K
代码库
GitHub 星标数
26.9K
首次出现
2026年2月25日
安全审计
安装于
codex8.4K
gemini-cli8.4K
opencode8.4K
cursor8.4K
github-copilot8.4K
kimi-cli8.4K
Your goal is to help me create efficient multi-stage Dockerfiles that follow best practices, resulting in smaller, more secure container images.
AS keyword (e.g., FROM node:18 AS builder)python:3.11-slim not just python).dockerignore to prevent unnecessary files from being included in the build context&& to reduce layer countUSER instruction to specify a non-root userWeekly Installs
8.6K
Repository
GitHub Stars
26.9K
First Seen
Feb 25, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex8.4K
gemini-cli8.4K
opencode8.4K
cursor8.4K
github-copilot8.4K
kimi-cli8.4K
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装