Sign inSign up

airshipcms/nexe

By airshipcms

•Updated over 9 years ago

Docker image for building static nodejs executable application using nexe

Image
0

289

airshipcms/nexe repository overview

⁠Nexe Docker

Builds a Docker⁠ image for building static nodejs⁠ executable application using nexe⁠.

⁠Example usage:

⁠No argument (I'm feeling lucky...)

Build static binary from executable file in ./bin directory and put it in the ./dist directory.

  docker run --rm -v $PWD:/app cogniteev/nexe
⁠Pass script in argument

Build static binary from executable file specified in parameter and put it in the ./dist directory.

  docker run --rm -v $PWD:/app /app cogniteev/nexe
⁠Execute arbitrary command

Prefix your command with a dash character.

	docker run --rm -ti cogniteev/bexe - bash

⁠Environment variables

VariableDefault valueDescription
NEXE_VERSION0.4.1nexe package version
NODEJS_VERSIONlateststatic executable NodeJS runtime
LDFLAGS-static-libgcc -static-libstdc++NodeJS build flags

Tag summary

Content type

Image

Digest

Size

252.8 MB

Last updated

over 9 years ago

docker pull airshipcms/nexe