Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
dokku-pages
Advanced tools
<!-- [START badges] --> [![NPM Version](https://img.shields.io/npm/v/dokku-pages.svg)](https://www.npmjs.com/package/dokku-pages) [![License](https://img.shields.io/npm/l/dokku-pages.svg)](https://github.com/benwinding/dokku-pages/blob/master/LICENSE) [
Readme
A simple way to deploy a static site to dokku.
npm i -g dokku-pages
dokku-pages deploy -g dokku@mysite.com:myapp -p dist
By adding the --minimal
flag, you can dramatically decrease container footprint.
Deploy Command | Dokku Type | Image Size |
---|---|---|
deploy ... | Herokuish Build Pack | 1.5 GB |
deploy ... --minimal | Docker Build | 55 MB |
That's a saving of 96.4%
!
Usage: dokku-pages [options] [command]
Options:
-h, --help display help for command
Commands:
deploy [options] Deploys this library to your dokku
-g, --giturl <giturl> The dokku git url (eg: user@host:app)
-d, --dist <directory> The static directory
--minimal Use minimal docker image instead of herokuish buildpack
--allow-cors <domains> Allow CORS for a domain (example.com or *)
--dry-run Only build the image, won't deploy to dokku
-h, --help display help for command
help [command] display help for command
Cors configuration is only available with the flag --minimal
.
CORS Example Arguments:
--allow-cors '*' ANY domain
--allow-cors 'a1.com' a1.com OR www.a2.com
--allow-cors 'a1.com|a2.com' a1.com OR a2.com
--allow-cors '.+\.example.com' ANY subdomain of example.com
--allow-cors 'localhost:.+' ANY port on localhost
This package is inspired by the ease of use of gh-pages
FAQs
<!-- [START badges] --> [![NPM Version](https://img.shields.io/npm/v/dokku-pages.svg)](https://www.npmjs.com/package/dokku-pages) [![License](https://img.shields.io/npm/l/dokku-pages.svg)](https://github.com/benwinding/dokku-pages/blob/master/LICENSE) [
The npm package dokku-pages receives a total of 74 weekly downloads. As such, dokku-pages popularity was classified as not popular.
We found that dokku-pages demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.