dare-dockerfile

dare-dockerfile is a command for Cursor from dewtech-technologies/dare-method. It costs 0 tokens per session (472 once invoked), scanned A, original, MIT.

A command that generates a Dockerfile from a project's technology stack. A Dockerfile describes how to package an application into a container for development or production.

In plain words
What is it for?
Use it to create container build instructions for PHP, Python, Go, Node, Vue, and other supported project stacks.
Why use it?
It saves manual setup work and applies stack-specific choices such as build stages, dependencies, users, and file permissions.

Command for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/dewtech-technologies/dare-method/dare-dockerfile
Clone the repo
git clone --depth 1 https://github.com/dewtech-technologies/dare-method

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dare-dockerfile

README.md
[![agentmods](https://agentmods.dev/badge/commands/dewtech-technologies/dare-method/dare-dockerfile.svg)](https://agentmods.dev/commands/dewtech-technologies/dare-method/dare-dockerfile)
Your own site
<a href="https://agentmods.dev/commands/dewtech-technologies/dare-method/dare-dockerfile"><img src="https://agentmods.dev/badge/commands/dewtech-technologies/dare-method/dare-dockerfile.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 472 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00472
Opus 5 $0.00000 $0.00236
Sonnet 5 $0.00000 $0.00094
Haiku 4.5 $0.00000 $0.00047

Measured yesterday against content hash 6234dba888ba, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dare-dockerfile scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

implementations/cursor/.cursor/commands/dare-dockerfile.md · 18 lines

What it actually says

Comando: /dare-dockerfile

Descrição

Este comando analisa a stack do projeto (definida no DESIGN.md ou .cursorrules) e gera um Dockerfile otimizado para produção e desenvolvimento.

Instruções para o Cursor Composer

  1. Analise o Contexto: Leia o arquivo .cursorrules e o DARE/DESIGN.md (se existir) para identificar a stack tecnológica principal (Linguagem, Framework, Versões).
  2. Leia a Skill Docker: Leia as regras em .cursor/rules/skill-docker.mdc para aplicar as melhores práticas de containerização.
  3. Gere o Dockerfile:
    • Crie um Dockerfile na raiz do projeto (./Dockerfile).
    • Para PHP/Laravel: Use multi-stage build. Instale extensões necessárias (pdo_mysql/pgsql, mbstring, exif, pcntl, bcmath, gd). Configure o www-data e ajuste permissões de /var/www/html/storage e bootstrap/cache.
    • Para Python: Use python:slim. Crie um usuário não-root. Copie requirements.txt primeiro, instale dependências e depois copie o código.
    • Para Go: Use multi-stage. Estágio 1: golang:alpine para build (go build -o app). Estágio 2: alpine ou scratch rodando apenas o binário.
    • Para Node/Vue: Estágio 1: node:alpine para build (npm run build). Estágio 2: nginx:alpine para servir a pasta dist.
  4. Gere o .dockerignore: Crie um arquivo .dockerignore na raiz do projeto ignorando pastas desnecessárias (node_modules, vendor, .git, .env, tests, DARE).
  5. Mensagem Final: Informe ao usuário: "Dockerfile e .dockerignore gerados com sucesso e otimizados para a stack [NOME_DA_STACK]. Revise os arquivos gerados. Para criar a orquestração de serviços, execute /generate-docker-compose."
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 18 lines · 0 tokens per session scan A 6234dba888ba

Subscribe to this mod's changes

dare-dockerfile is a command published in the GitHub repository dewtech-technologies/dare-method (5 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 472 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.