Optimized for: Gemini / ChatGPT / Claude
Advanced AI Prompt for Python Django with Gulp/Node Asset Pipeline
Use this engineered prompt to drastically optimize your workflow and output.
Required Variables
- ✦
[NODE_VERSION] - ✦
[PYTHON_VERSION] - ✦
[GULP_TASK] - ✦
[STATIC_ASSET_DIR]
python-django-gulp-node-pipeline-docker.txt
Full-Stack Engineer Prompt: Create a complex multi-stage Dockerfile for a Django project that uses a Node.js asset pipeline (Gulp/Webpack). Stage 1: Use [NODE_VERSION] to build assets via [GULP_TASK]. Stage 2: Use [PYTHON_VERSION] to install Python dependencies. Stage 3: The final runner stage must combine the built assets from Stage 1 into the [STATIC_ASSET_DIR] of the Django app from Stage 2. Optimize for minimal layers and zero Node.js footprint in the final Python image.
Example Output
"A sophisticated multi-language build process that cleanly separates frontend compilation from backend runtime requirements."