@kth/echolocation
v0.1.0
Published
The glue between Node.js and Docker
Downloads
2
Keywords
Readme
echolocation
EXPERIMENTAL. No-install, no-configuration. The glue between Node.js and Docker
No-features
- No installation. Just run with
npx
. - No configuration files. Just follow well-known conventions
- No Docker-related files needed
- No CI-related files needed
Usage
The @kth/echolocation
CLI is available via npm and can be run with npx
or installed globally:
# Run with npx
npx @kth/echolocation «command»
# Install globally and run
npm install -g @kth/echolocation
@kth/echolocation «command»
We recommend you to NOT install this tool locally in your projects
Commands
- app. Build the Node.js app in the current directory and create a Docker image from it
- node. Build a custom-made Node.js image
1. npx @kth/echolocation app
Build the Node.js app in the current directory
npx @kth/echolocation app
Options
--gen
. GeneratesDockerfile
and.dockerignore
files in the current directory that was used to build the image.Note: it overwrites existing files.
2. npx @kth/echolocation node
Builds a custom Node.js 12 Docker image based on kth-os
npx @kth/echolocation node