fly-apps / fly-apps/dockerfile-node

Does --instructions-deploy not work?

Open
#144 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
187
Forks
11
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.