/npm-docker-cli

Tool for building docker images for runnable applications and deploying them to EC2 container service.

Primary LanguageShell

NPM Docker CLI

Usage

Building docker image

The following command should be executed from the derectory, which contains package.json and Dockerfile.

npm-docker-cli build

Creating container

Not implemented

Running container locally

Docker image should be built beforehand.

The following command should be executed from the derectory, which contains package.json.

npm-docker-cli run

Stopping container

Not implemented

Restarting container

Not implemented

Deploying docker image to EC2 container service

Docker image should be built beforehand.

The following command should be executed from the derectory, which contains package.json and deployment.json.

npm-docker-cli deploy