Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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

  • 2.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
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

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

Keywords

FAQs

Package last updated on 20 Dec 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc