Skip to content

Does --instructions-deploy not work? #144

@imikay

Description

@imikay

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions