Task prompt · Coding

Create a Dockerfile for my app

by Agent Yard Team

Small, secure container image that builds fast.

You'll attach

Text only

Works with

CursorClaude CodeCodexClaudeChatGPTGemini

Use cases

  • Small, secure container image that builds fast.
  • Reuse it as often as you like: fill in the blanks (language/framework) with new details and copy again.
  • With Cursor, Claude Code, Codex and more, the AIs that support what this prompt needs.

How to use it

  1. Open Cursor or Claude Code in your terminal (or another AI listed here).
  2. Fill in the highlighted blank ([LANGUAGE/FRAMEWORK]) below, or edit them after pasting.
  3. Copy the prompt, paste it into the chat and send.

Fill in the blanks (optional)

Prompt

Remix
Write a Dockerfile for this [LANGUAGE/FRAMEWORK] app.
Use a multi-stage build, a slim base image, a non-root user, layer caching for dependencies and a health check. Add a .dockerignore. Explain how to build and run it locally, and the image size you expect.
One email a week

The best new prompts and personas, nothing else.

The Weekly is presented byyour brandSponsored · open

More Coding prompts

Footer partner · openThis strip runs at the foot of every page. One partner at a time.Ask about it →