https://github.com/tilt-dev/tilt-example-base-image
An example NodeJS app k8s
https://github.com/tilt-dev/tilt-example-base-image
Last synced: about 1 year ago
JSON representation
An example NodeJS app k8s
- Host: GitHub
- URL: https://github.com/tilt-dev/tilt-example-base-image
- Owner: tilt-dev
- License: apache-2.0
- Created: 2019-03-14T18:25:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-10-25T16:39:33.000Z (over 4 years ago)
- Last Synced: 2025-04-18T07:52:07.940Z (about 1 year ago)
- Language: Python
- Size: 12.7 KB
- Stars: 3
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tilt-example-base-image
[](https://circleci.com/gh/tilt-dev/tilt-example-nodejs)
## Why
In microservice apps, you often have a base image
that defines a shared set of language toolchains or dependencies.
Then individual apps share the base image.
This repo shows a [Tiltfile](Tiltfile) that builds
a base image, then an app image, then deploys the app.
When you make changes to the files, Tilt will live-update
the app with your changes.
For a detailed explanation of this code, see the tutorial:
https://docs.tilt.dev/dependent_images.html
## How
With a local Kubernetes environment, run:
```
tilt up
```
The view the app:
```sh
curl http://localhost:3000
```
## License
Copyright 2020 tilt.dev
Licensed under [the Apache License, Version 2.0](LICENSE)