Skip to content

HAMUR_E0071: --docker is used with a preset other than bun or node

--docker is used with a preset other than bun or node. Error HAMUR_E0071 belongs to hamur, config, environment and command line (0001 – 0999).

Message

text
HAMUR_E0071 --docker needs the bun or node preset

Cause

--docker writes a Dockerfile that runs the server output with Bun or Node, and the other presets build for a platform that runs the output itself.

Fix

Use the bun or node preset, or leave --docker out.