Image is larger than 1 GB

The image your Dockerfile produced is over the 1 GB limit. Full base images, build tools and dev dependencies left in the final image are the usual reasons.

Last updated November 25, 2026

The error

Image is 1350 MB, the limit is 1024 MB. Use a smaller base image or a multi-stage build.

Why it happens

The image your Dockerfile produced is over the 1 GB limit. Full base images, build tools and dev dependencies left in the final image are the usual reasons.

How to fix it

Use a slim or Alpine base image, and copy only the build output into a final stage of a multi-stage build.

ezhst build dockerfile show
ezhst build dockerfile set -f Dockerfile
ezhst redeploy

Still stuck

Read the build log and runtime logs, or browse all errors.

Start for free

Install the skill, choose Global or Local, then tell your agent to deploy. No credit card, no config files.

$npx ezhst skill install