# dockerize-app

> CLI tool to launch a docker container and create a Dockerfile for NodeJS applications

Latest version **2.0.2** (published 2015-12-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install dockerize-app
pnpm add dockerize-app
yarn add dockerize-app
bun add dockerize-app
```

Provides the command `dockerize`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.2 |
| Published | 2015-12-20 |
| First published | 2015-11-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Chris Impey |
| Maintainers | brainsiq |
| Keywords | docker, dockerfile, dockerize, dockerise, containerize, containerise |

## Links

- npm: https://www.npmjs.com/package/dockerize-app
- Repository: https://github.com/brainsiq/dockerize-node-app
- Homepage: https://github.com/brainsiq/dockerize-node-app#readme
- Issues: https://github.com/brainsiq/dockerize-node-app/issues
- npm.io page: https://npm.io/package/dockerize-app

## Dependencies (1)

- [lodash-deep](https://npm.io/package/lodash-deep.md) ^1.6.0

## Recent versions

- 2.0.2 (latest) — 2015-12-20
- 2.0.1 — 2015-11-29
- 2.0.0 — 2015-11-29
- 1.1.0 — 2015-11-26
- 1.0.2 — 2015-11-22
- 1.0.1 — 2015-11-22

## README

# dockerize-node-app

[![Circle CI](https://circleci.com/gh/brainsiq/dockerize-node-app/tree/master.svg?style=svg&circle-token=a639b747f151247d6b8f99bda7b49dc4c337210d)](https://circleci.com/gh/brainsiq/dockerize-node-app/tree/master)

CLI tool to generate a Dockerfile for running a NodeJS application, and starting a Docker container from it.

# Installation

`npm install -g dockerize-app`

# Useage

```
# creates dockerfile, builds image and runs container
cd /path/to/node/app
dockerize
```

### Dockerfile generation

* Sets node:x.x.x as the base image, where x.x.x is the latest version (using https://semver.io), which satisifies:
 * .nvmrc file
 * OR engines.node property from package.json
* Adds source code into docker image
* Runs `npm install`
* Sets start command as npm start or node [entrypoint.js] depending on package.json settings

See [issues](https://github.com/brainsiq/dockerize-node-app/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement) for upcoming features.

---
_Source: https://npm.io/package/dockerize-app · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
