-
The --help says "output file name or template for several files" but how does that work? I like to have the architecture always appended to the filename. Is there as simple way to use the template for the names? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I generally put the arch in the name myself when building single executables, that's quite easy if you use |
Beta Was this translation helpful? Give feedback.
Where does the value come from?
${arch}
is empty.But I solved it that way:
RUN arch=$(dpkg --print-architecture); npx pkg -t node20-linux app/service.js -c package.json -o appname-${arch}