Add deployment Dockerfile.
This commit is contained in:
parent
40d9073664
commit
31c761f278
|
|
@ -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"]
|
||||||
|
|
@ -7,7 +7,7 @@ name = "j7s_branch_trigger"
|
||||||
authors = [
|
authors = [
|
||||||
{name = "James Pace", email = "jpace121@gmail.com"},
|
{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"
|
readme = "README.md"
|
||||||
requires-python = ">=3.7"
|
requires-python = ">=3.7"
|
||||||
license = {text = "Apache-2.0"}
|
license = {text = "Apache-2.0"}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue