Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 586 Bytes

README.md

File metadata and controls

26 lines (23 loc) · 586 Bytes

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