JUSTDOIT is a container for making home-brewn JAM-stack apps without bullshit. Kubernetes-friendly.

About

This image does the following:

  1. (Conditionally) adds a deploy key for your repo;
  2. Clones the repo;
  3. Runs a setup command specified by you (default is npm install);
  4. Runs a build command specified by you (or defaults to npm run build);
  5. Serves a static HTTP server on port 8080;
  6. Fetches the repo at a given interval and rebuilds your site if the repo changed.

Only a single branch is cloned, with the default number of commits of 10 (it fetches only a part of the history).

This image is based on node.js LTS image. It contains npm and yarn. Made with Podman.

Examples β¬… πŸ’ƒπŸ’…πŸŽ‰πŸ’ͺπŸ’¦

Getting the image

Alpine (recommended):

docker pull cosmomyzrailgorynych/justdoit:latest-alpine

Or vanilla:

docker pull cosmomyzrailgorynych/justdoit

Also see the repo at the Docker hub.

Environment variables



Support

Eh.

Bugs & PRs

Send them to this repo. Making stuff for podman/docker/crio/whatever is the last thing I would usually do, so don’t await for active maintenance. You get stuff for free without any warrancies.