helm_website/docker/deployer_docker/Dockerfile

15 lines
428 B
Docker

FROM ubuntu:24.04
RUN apt-get update && apt-get install --no-upgrade -y curl python3 python3-pip python3-venv git git-lfs ssh
COPY updater.sh /updater.sh
COPY webhook /opt/webhook
RUN python3 -m venv /opt/webhook/.venv && \
/opt/webhook/.venv/bin/python3 -m ensurepip && \
/opt/webhook/.venv/bin/python3 -m pip install -r /opt/webhook/requirements.txt
COPY webhook-runner.sh /webhook-runner.sh
ENTRYPOINT /updater.sh