1.0.2 • Published 10 months ago

dockerize-nginx v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

Feature

Prerequisite

Install

Install with npm:

npm i -D dockerize-nginx

Get Started

Add following to npm scripts

{
  "scripts": {
    "dockerize": "dockerize"
  }
}

It will copy the contents of the dist/ directory to the /usr/share/nginx/html directory in the image.

Configuration

These arguments are supported on the command line:

argumentaliasdefaultdescription
distDirodistOutput directory of SPA application
imageNamet\${npm_package_name}:\${npm_package_version}Name and optionally a container tag (format: "name:tag")
writeDockerIgnorewfalseWhether to generate a .dockerignore file in the root directory
1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago