Socket
Socket
Sign inDemoInstall

fwsp-docker-scripts

Package Overview
Dependencies
8
Maintainers
7
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    fwsp-docker-scripts

Docker scripts for Hydra microservices


Version published
Weekly downloads
2
decreased by-77.78%
Maintainers
7
Install size
1.11 MB
Created
Weekly downloads
 

Readme

Source

fwsp-docker-script

Package for managing the lifecycle of docker service images

Installation

In package.json, add script:

  "scripts": {
    "docker": "fwsp-docker-scripts"
  },

and dev dependency (make sure to run npm install after):

  "devDependencies": {
    "fwsp-docker-scripts": "0.0.2"
  }

In config.json:

  "docker": {
    "organization": "flywheelsports",
    "baseImage": "flywheelsports/servicebase:0.0.3-alpine",
    "author": "Eric Adum",
    "email": "eric@flywheelsports.com"
  },

The image flywheelsports/servicebase:0.0.3-alpine contains a few nice upgrades on top of node 8 alpine, such as: curl which is used for docker healthchecks and linux performance tuning settings.

Commands

npm run docker build - builds and tags the image

npm run docker push - pushes the image to docker hub

npm run docker run - start container in interactive mode

npm run docker up - start container in daemon mode

FAQs

Last updated on 25 Jun 2019

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc