https://github.com/meatwallace/alpine-zeit-now
lightweight alpine linux docker images for running Zeit's `now` CLI
https://github.com/meatwallace/alpine-zeit-now
alpine docker now-cli zeit zeit-now
Last synced: about 1 month ago
JSON representation
lightweight alpine linux docker images for running Zeit's `now` CLI
- Host: GitHub
- URL: https://github.com/meatwallace/alpine-zeit-now
- Owner: meatwallace
- License: mit
- Archived: true
- Created: 2019-05-12T16:12:57.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-01T08:36:01.000Z (over 5 years ago)
- Last Synced: 2024-10-24T16:49:11.374Z (6 months ago)
- Topics: alpine, docker, now-cli, zeit, zeit-now
- Language: JavaScript
- Homepage: https://hub.docker.com/r/meatwallace/alpine-zeit-now
- Size: 4.76 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# :whale2: Zeit Now CLI Docker Images
[](https://circleci.com/gh/meatwallace/alpine-zeit-now)
Barebones Alpine Linux image containing Zeit's
[`now` CLI](https://github.com/zeit/now-cli) using
[`mhart/alpine-node`](https://github.com/mhart/alpine-node)'s latest LTS slim
image as a base.Images are available at the
[meatwallace/alpine-zeit-now](https://hub.docker.com/r/meatwallace/alpine-zeit-now)
Dockerhub repository, tagged `meatwallace/alpine-zeit-now:`. All
versions \>=15.2.0 including canary releases should be available, and are <
100MB uncompressed.## :rocket: Usage
To deploy your current working directory using the `now` CLI, simply run:
```shell
docker run -it --rm --volume="$PWD:/root/project" meatwallace/alpine-zeit-now now
```All versions \>=15.3.0 allow for simple usage by including the function below in
your `~/.bashrc` or equivelant for your shell:```shell
now() {
# mounts your current working directory & your machines .now config folder
docker run -it --rm \
--volume="$PWD:/root/project \
--volume="$HOME/.now:/root/.now" \
meatwallace/alpine-zeit-now now "$@"
}
```## :wrench: Contributing
### :speech_balloon: Code of Conduct
This project has adopted a [Code of Conduct](./CODE_OF_CONDUCT.md) that project
participants are expected to adhere to.### :book: Contributing Guide
Read the [contributing guide](./CONTRIBUTING.md) to learn about how to propose
and contribute changes to this project.## :scroll: License
This project is [MIT licensed](./LICENSE).