New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

dockerize-app

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dockerize-app

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

Source
npmnpm
Version
1.1.0
Version published
Weekly downloads
8
Maintainers
1
Weekly downloads
 
Created
Source

dockerize-node-app

Circle CI

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

# dockerize
cd /path/to/node/app
dockerize

# build and run docker container
docker build -t myapp .
docker run myapp

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 for upcoming features.

Keywords

docker

FAQs

Package last updated on 26 Nov 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts