适用场景
- 以结构化、可复用的提示词为起点,而非空白对话框。
- 根据自己的需求调整提示词,同时保持原始意图不变。
- 与Software Development, Debug & Testing相关的工作流。
为特定应用程序栈生成 Dockerfile 和 docker-compose.yml。
Write a secure and optimized Dockerfile and docker-compose.yml for a {{App Context: e.g. if used in an AI agent use the current project}}. Use {{Base Image: Alpine, Ubuntu, Debian, Scratch}} as the base image. Include configurations for {{Database: PostgreSQL, MySQL, MongoDB, Redis, None}} and expose port {{Port:8080}}. Add comments explaining the build stages and security best practices.
e.g. if used in an AI agent use the current project
Alpine, Ubuntu, Debian, Scratch
PostgreSQL, MySQL, MongoDB, Redis, None
8080
Write a secure and optimized Dockerfile and docker-compose.yml for a e.g. if used in an AI agent use the current project. Use Alpine as the base image. Include configurations for PostgreSQL and expose port 8080. Add comments explaining the build stages and security best practices.
变量被 {{ 和 }} 包裹,遵循以下格式:
选项可以通过方括号引用预定义变量列表。这些选项以[橙色]显示,提供颜色、语气或语言等常用值。
也可以提供以逗号分隔的内联选项列表。
提示:使用这些提示词无需 PUCO 应用!只需复制模板,直接在 ChatGPT、Claude、Gemini 或任何其他 AI 助手中将每个 {{…}} 部分替换为自己的文本。