argoproj-labs / hera

Hera makes Python code easy to orchestrate on Argo Workflows through native Python integrations. It lets you construct and submit your Workflows entirely in Python. ⭐️ Remember to star!
https://hera.rtfd.io
Apache License 2.0
601 stars 106 forks source link

Add an end-to-end script runner example #1200

Open elliotgunton opened 1 month ago

elliotgunton commented 1 month ago

The script runner doesn't have a reproducible end-to-end example that includes at a minimum a Dockerfile, requirements.txt and the Python code in one folder. It would be good to help users get started with an example that can run on a local docker-desktop installation of Argo workflows (to simplify image repository needs).

e.g. minimal Dockerfile:

FROM python:3.12-slim

WORKDIR /app

COPY . .

RUN pip install --upgrade pip \
  && pip install hera

Issue motivated by slack conversation.