Feature Request
First off, great tool! The auto-detection and multi-runtime support is exactly what I was looking for as a nixpacks alternative.
Problem
Currently, the generated Dockerfile uses ARG for build/start commands which requires passing --build-arg at docker build time. There's also no way to inject custom environment variables into the generated Dockerfile.
It would be awesome to have a way to pass:
- Custom start command:
--start-cmd "node server.js"
- Custom build command:
--build-cmd "npm run build:prod"
- Custom install command:
--install-cmd "npm ci --production"
- Environment variables:
--env KEY=value (repeatable flag)
- Custom port:
--port 3000
Example Usage
new-dockerfile --write \
--start-cmd "node dist/server.js" \
--build-cmd "npm run build" \
--env "NODE_ENV=production" \
--env "API_URL=https://api.example.com" \
--port 8080