Ai Chat

Automated Multi-Stage Docker Build for Complex Python Microservices

docker microservices security CI/CD container optimization
Prompt
Design a multi-stage Dockerfile that builds a complex Python microservice using Poetry for dependency management, with separate stages for development, testing, and production. The solution must include multi-architecture support (amd64 and arm64), Alpine Linux base image optimization, and automatic dependency vulnerability scanning. Include a comprehensive CI/CD pipeline configuration that performs static code analysis, runs comprehensive pytest suites, and generates both container image and SBOM (Software Bill of Materials).
Sign in to see the full prompt and use it directly
Sign In to Unlock
Use This Prompt
0 uses
7 views
Pro
Python
General
Mar 3, 2026

How to Use This Prompt

1
Copy the prompt Click "Copy" or "Use This Prompt" above
2
Customize it Replace any placeholders with your own details
3
Generate Paste into Ai Chat and hit generate
Link copied!