From 31c761f27848f236c67dd2c37a10a5dd61663263 Mon Sep 17 00:00:00 2001 From: James Pace Date: Tue, 14 Feb 2023 23:05:52 -0500 Subject: [PATCH] Add deployment Dockerfile. --- Dockerfile | 16 ++++++++++++++++ pyproject.toml | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..8916b63 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +FROM docker.io/debian:bullseye-slim + +RUN mkdir /project +WORKDIR /project + +RUN apt update && \ + apt install -y \ + python3 \ + python3-pip \ + git \ + openssh-client + +COPY . /project +RUN pip3 install . + +ENTRYPOINT ["j7s_branch_trigger"] \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 0fafa1f..6d6cfe2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "j7s_branch_trigger" authors = [ {name = "James Pace", email = "jpace121@gmail.com"}, ] -description = "Multi-branch pipelines with curl." +description = "Send webhook on equivalent to Jenkins multibranch pipeline trigger." readme = "README.md" requires-python = ">=3.7" license = {text = "Apache-2.0"}