diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..85dec603 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM registry.access.redhat.com/ubi8/python-38 AS demo + +COPY ./ /trestle-bot + +WORKDIR /trestle-bot + +# Install dependencies +RUN python3.8 -m pip install --upgrade pip \ + && pip install poetry \ + && poetry install +USER 1001 +ENTRYPOINT [ "poetry", "run", "trestle-bot" ] diff --git a/action.yml b/action.yml index 643b9f54..1414e4b6 100644 --- a/action.yml +++ b/action.yml @@ -38,7 +38,7 @@ inputs: runs: using: "docker" - image: "REPLACE_ME" + image: "Dockerfile" branding: icon: "check"