@kth/echolocation

0.1.0 • Public • Published

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

  1. app. Build the Node.js app in the current directory and create a Docker image from it
  2. 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. Generates Dockerfile 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

Dependencies (14)

Dev Dependencies (1)

Package Sidebar

Install

npm i @kth/echolocation

Weekly Downloads

1

Version

0.1.0

License

ISC

Unpacked Size

14.5 kB

Total Files

10

Last publish

Collaborators

  • kth-stratus
  • mictsi
  • n_sandstrom
  • kthwebmaster
  • exacs
  • ssundkvist
  • kth-ci
  • emilstenberg