Block a user
threaty (f18677c)
Published 2026-08-12 10:38:29 +02:00 by plawn
Installation
docker pull git.konf.sh/plawn/threaty:f18677csha256:23bde3fd2deef3fae140f8476dd60c37ccaf6120318a1fa6c3fc75b57e694214
Images
| Digest | OS / Arch | Size |
|---|---|---|
| 819225c0da | linux/amd64 | 22 MiB |
Image Layers ( linux/amd64)
| ADD alpine-minirootfs-3.22.5-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| RUN /bin/sh -c apk add --no-cache libpq ca-certificates git libgcc # buildkit |
| WORKDIR /app |
| COPY /app/target/docker/threaty-server /app/threaty-server # buildkit |
| COPY /app/frontend/dist/ /app/frontend/dist/ # buildkit |
| COPY /app/docs/book/book/ /app/docs/book/ # buildkit |
| COPY application.yaml /app/application.yaml # buildkit |
| COPY config/ /app/config/ # buildkit |
| EXPOSE [3000/tcp] |
| ENV RUST_LOG=info |
| ENV THREATY_FRONTEND_DIR=/app/frontend/dist |
| ENV THREATY_DOCS_DIR=/app/docs/book |
| RUN /bin/sh -c mkdir -p /var/lib/threaty # buildkit |
| ENV GHSA_LOCAL_DIR=/var/lib/threaty/ghsa-advisory-database |
| HEALTHCHECK {Test:[CMD-SHELL wget -q --spider http://127.0.0.1:3000/health || exit 1] Interval:30s Timeout:5s StartPeriod:30s StartInterval:0s Retries:3} |
| CMD ["/app/threaty-server"] |