Add deployment Dockerfile.

This commit is contained in:
James Pace 2023-02-14 23:05:52 -05:00
parent 40d9073664
commit 31c761f278
2 changed files with 17 additions and 1 deletions

16
Dockerfile Normal file
View File

@ -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"]

View File

@ -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"}