dockerfile-node icon indicating copy to clipboard operation
dockerfile-node copied to clipboard

Does --instructions-deploy not work?

Open imikay opened this issue 9 months ago • 0 comments

Tried this: npx --yes @flydotio/dockerfile@latest --alpine --add git --add openssh --instructions-deploy=install.packages --force

output

_file:///Users/xxx/.npm/_npx/f37d7377d96e8c81/node_modules/@flydotio/dockerfile/index.js:307 df.instructions[stage] = options.instructions[stage] ^

TypeError: Cannot create property 'deploy' on string 'install.packages' at file:///Users/xxx/.npm/_npx/f37d7377d96e8c81/node_modules/@flydotio/dockerfile/index.js:307:30 at ModuleJob.run (node:internal/modules/esm/module_job:274:25) at async onImport.tracePromise.proto (node:internal/modules/esm/loader:644:26) at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:117:5)

Node.js v22.16.0_

Both --instructions-deploy and --instructions have this error, --instructions-build works ok.

imikay avatar May 28 '25 21:05 imikay