Blenra
Optimized for: Gemini / ChatGPT / Claude

Advanced AI Prompt for Python Django with Celery and Redis

Use this engineered prompt to drastically optimize your workflow and output.

Required Variables

  • [DJANGO_SETTINGS]
  • [STATIC_ROOT]
  • [CELERY_APP]
  • [PYTHON_VERSION]
python-django-celery-redis-docker-multi-stage.txt
Expert DevOps Prompt: Design a multi-stage Dockerfile (or a unified file with different targets) for a Django ecosystem. The build must handle [PYTHON_VERSION], static file collection to [STATIC_ROOT], and database migrations. Provide instructions on how this single Dockerfile can be used to launch the Web process, the Celery worker for [CELERY_APP], and the Celery beat scheduler using different ENTRYPOINT overrides. Focus on shared layers to reduce storage overhead.

Example Output

"A versatile Dockerfile that serves as the foundation for an entire Django stack, using build targets to minimize image redundancy."