daggerbot (sha256:e382ae16d86b89ad397610c750137227e879c1ca381309fdd83ae44060912036)
Published 2026-06-15 09:36:18 +10:00 by nwerosama
Installation
docker pull git.playground.red/nwerosama/daggerbot@sha256:e382ae16d86b89ad397610c750137227e879c1ca381309fdd83ae44060912036sha256:e382ae16d86b89ad397610c750137227e879c1ca381309fdd83ae44060912036Image layers
| COPY /rootfs/ / # buildkit |
| ENV LANG=en_US.UTF-8 |
| RUN /bin/sh -c ln -sf /usr/lib/os-release /etc/os-release && pacman-key --init && pacman-key --populate && rm -rf /etc/pacman.d/gnupg/{openpgp-revocs.d/,private-keys-v1.d/,pubring.gpg~,gnupg.S.}* # buildkit |
| CMD ["/usr/bin/bash"] |
| RUN /bin/sh -c pacman-key --init && pacman -Syu --noconfirm python tesseract tesseract-data-eng && rm -rf /var/cache/pacman/pkg/** /usr/share/{man,doc,info} # buildkit |
| ADD https://astral.sh/uv/install.sh /tmp/uv_inst.sh # buildkit |
| RUN /bin/sh -c sh /tmp/uv_inst.sh && rm /tmp/uv_inst.sh # buildkit |
| ENV PATH=/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin TESSDATA_PREFIX=/usr/share/tessdata |
| LABEL org.opencontainers.image.source=https://git.playground.red/nwerosama/daggerbot |
| WORKDIR /opt/service |
| ENV UV_NO_DEV=1 PATH=/opt/service/.venv/bin:/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| COPY pyproject.toml uv.lock .python-version python/ ./ # buildkit |
| RUN /bin/sh -c uv venv .venv && uv sync --locked # buildkit |
| COPY docker/python_entrypoint.sh entrypoint.sh # buildkit |
| RUN /bin/sh -c chmod +x entrypoint.sh # buildkit |
| EXPOSE [39270/tcp] |
| ENTRYPOINT ["sh" "entrypoint.sh"] |
| CMD ["uv" "run" "main.py"] |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.source | https://git.playground.red/nwerosama/daggerbot |
Details
Versions (2)
View all