Skip to content

Docker Image packaging for Nodbox; a tiny container to run JavaScript code

License

Notifications You must be signed in to change notification settings

junminahn/nodbox

Repository files navigation

Nodbox

This docker container runs JavaScript code without having a dedicated docker image containing the codebase. It takes the source code as the arguments of the docker container's ENTRYPOINT.

Example

apiVersion: batch/v1
kind: Job
metadata:
  name: nodbox
spec:
  template:
    spec:
      containers:
        - name: nodbox
          image: ghcr.io/junminahn/nodbox:latest
          imagePullPolicy: Always
          args:
            - |
              console.log("hello world!");
              return "200:Okay";
      restartPolicy: Never
  backoffLimit: 1

About

Docker Image packaging for Nodbox; a tiny container to run JavaScript code

Topics

Resources

License

Stars

Watchers

Forks

Packages