Docker sending hundreds of MB before build? Use .dockerignore
_jaydeepkarale · x · 2026-09-02
Docker builds can be slow if the build context includes unnecessary data like nodemodules or .git directories. The solution is adding a .dockerignore file to exclude these files from the context, reducing data transfer and enabling faster, cleaner builds.
More from coding & agent
- Anthropic's New Model Immediately Supports Native PowerShell Tool Calling — dfinke · 2026-09-02
- Agentic engineering irony: engineers must think like GPUs — charles_irl · 2026-09-02
- MapQuest launches MCP server to power AI agents with location and routing data — deliprao · 2026-09-02
- Ethan Mollick Proposes 'Facilitator Agents' to Decide Human Intervention — rseroter · 2026-09-02
- User frustration with Google Antigravity: weak Gemini behavior, one PowerShell command burned 50% of Claude quota — DigSudden6867 · 2026-09-02
- Agent 自动纠错案例:发邮件修正公共数据集错误 — JanJanJaJa · 2026-09-02