/docker-image

Build docker image without Dockerfile

Primary LanguageTypeScript

Description

docker-image helps you build docker images 😉, without having to create a Dockerfile.

It currently supports node applications and expects the deployable files to be in ./dist.

Installation

npm i @olaleyeone/docker-image -D

Usage

Without arguments

$ npx docker-image

With tag

$ npx docker-image -t my-image

With base image and tag

$ npx docker-image --from node:14.10.1-alpine3.12 -t my-image