Caddy plugin to serve Python apps
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.version=22.04 |
| ADD file:a517741c956f6a7e4b7cb0efd9bc418ce3cc54eb49b5314080ff606a7430ac2a in / |
| CMD ["/bin/bash"] |
| ARG PY_VERSION=3.14 |
| RUN |1 PY_VERSION=3.14 /bin/sh -c export DEBIAN_FRONTEND=noninteractive && apt-get update -yyqq && apt-get install -yyqq wget software-properties-common && add-apt-repository -y ppa:deadsnakes/ppa && apt-get update -yyqq && apt-get install -yyqq python${PY_VERSION}-venv && ln -sf /usr/bin/python${PY_VERSION} /usr/bin/python && wget -q https://bootstrap.pypa.io/get-pip.py && python get-pip.py && apt-get upgrade -yyqq libssl3 openssl && apt-get clean && rm -rf /var/lib/apt/lists/* get-pip.py # buildkit |
| COPY /usr/local/bin/caddy /usr/local/bin/caddy # buildkit |
| WORKDIR /app |
| COPY . /app # buildkit |
| ENV POETRY_VIRTUALENVS_CREATE=false |
| ENV POETRY_NO_INTERACTION=1 |
| COPY --chown=gunicorn:gunicorn manage.py pyproject.toml poetry.lock . # buildkit |
| RUN /bin/sh -c pip install poetry gunicorn && poetry install --only main --no-root --no-directory # buildkit |
| COPY --chown=gunicorn:gunicorn bakat/ ./bakat # buildkit |
| COPY --chown=gunicorn:gunicorn workouts/ ./workouts # buildkit |
| RUN /bin/sh -c poetry install --only main # buildkit |
| CMD ["gunicorn" "bakat.wsgi" "--workers" "4" "--bind" "0.0.0.0:8000"] |
| Key |
Value |
| org.opencontainers.image.created |
2026-07-15T23:26:27Z |
| org.opencontainers.image.description |
Caddy plugin to serve Python apps |
| org.opencontainers.image.licenses |
MIT |
| org.opencontainers.image.revision |
a8fb9c1038ce3e074f8e3ae207862b0e479532e5 |
| org.opencontainers.image.source |
https://scm.gruezi.net/buckbanzai/bakat.git |
| org.opencontainers.image.title |
caddy-snake |
| org.opencontainers.image.url |
https://scm.gruezi.net/buckbanzai/bakat |
| org.opencontainers.image.version |
v0.5.11 |