Docker image for encloseJS
Convert a Node.js program into a stand-alone executable:
# Create a hello.js
$ echo 'console.log("Hello Node.js");' > hello.js
# Convert hello.js into a stand-alone executable result in an ELF executable as './hello'
$ docker run -v $(pwd):/code coopermaa/enclose --x64 -o hello hello.js
# Run the executable
$ ./hello
Hello Node.js
Content type
Image
Digest
Size
331 MB
Last updated
over 10 years ago
docker pull coopermaa/enclose