dht-proxy (latest)

Published 2026-11-02 14:24:55 +00:00 by janhouse

Installation

docker pull git.janhouse.lv/janhouse/dht-proxy:latest
sha256:18a14473a1e280ff9d325d1758ab5292975eabec0ec938748a8b907977f78616

Images

Digest OS / Arch Size
7d70559de4 linux/amd64 76 MiB

Image Layers ( linux/amd64)

ADD alpine-minirootfs-3.24.3-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
ARG BUN_RUNTIME_TRANSPILER_CACHE_PATH=0
ENV BUN_RUNTIME_TRANSPILER_CACHE_PATH=0
ARG BUN_INSTALL_BIN=/usr/local/bin
ENV BUN_INSTALL_BIN=/usr/local/bin
COPY /usr/local/bin/bun /usr/local/bin/ # buildkit
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
RUN |2 BUN_RUNTIME_TRANSPILER_CACHE_PATH=0 BUN_INSTALL_BIN=/usr/local/bin /bin/sh -c mkdir -p /usr/local/bun-node-fallback-bin && ln -s /usr/local/bin/bun /usr/local/bun-node-fallback-bin/node # buildkit
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bun-node-fallback-bin
RUN |2 BUN_RUNTIME_TRANSPILER_CACHE_PATH=0 BUN_INSTALL_BIN=/usr/local/bin /bin/sh -c addgroup -g 1000 bun && adduser -u 1000 -G bun -s /bin/sh -D bun && ln -s /usr/local/bin/bun /usr/local/bin/bunx && apk add libgcc libstdc++ && which bun && which bunx && bun --version # buildkit
WORKDIR /home/bun/app
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
CMD ["/usr/local/bin/bun"]
WORKDIR /app
ENV NODE_ENV=production
ENV NEXT_TELEMETRY_DISABLED=1
RUN /bin/sh -c addgroup --system --gid 1001 nodejs # buildkit
RUN /bin/sh -c adduser --system --uid 1001 nextjs # buildkit
COPY /app/public ./public # buildkit
COPY --chown=nextjs:nodejs /app/.next/standalone ./ # buildkit
COPY --chown=nextjs:nodejs /app/.next/static ./.next/static # buildkit
COPY --chown=nextjs:nodejs /app/.next/BUILD_ID ./.next/BUILD_ID # buildkit
COPY /app/drizzle ./drizzle # buildkit
RUN /bin/sh -c mkdir -p /app/data && chown nextjs:nodejs /app/data # buildkit
LABEL org.opencontainers.image.title=DHT Proxy
LABEL org.opencontainers.image.description=Privacy-preserving BitTorrent peer relay — crawls DHT and trackers, relays peers to downstream clients without exposing their IPs
LABEL org.opencontainers.image.source=https://github.com/Janhouse/dht-proxy
LABEL org.opencontainers.image.vendor=Janhouse
USER nextjs
EXPOSE [3000/tcp]
ENV PORT=3000
ENV HOSTNAME=0.0.0.0
HEALTHCHECK {Test:[CMD-SHELL wget -q --spider http://127.0.0.1:3000/ || exit 1] Interval:3s Timeout:5s StartPeriod:2s StartInterval:0s Retries:3}
ENTRYPOINT ["bun" "--bun" "server.js"]

Labels

Key Value
com.docker.compose.project docker
com.docker.compose.service app
com.docker.compose.version 5.6.1
org.opencontainers.image.created 2026-10-22T10:15:18.238Z
org.opencontainers.image.description Privacy-preserving BitTorrent peer relay — crawls DHT and trackers, relays peers to downstream clients without exposing their IPs
org.opencontainers.image.licenses NOASSERTION
org.opencontainers.image.revision 38afee6c84fcf48c0edb2466aa4b27d287a59c30
org.opencontainers.image.source https://github.com/Janhouse/dht-proxy
org.opencontainers.image.title DHT Proxy
org.opencontainers.image.url https://github.com/oven-sh/bun
org.opencontainers.image.vendor Janhouse
org.opencontainers.image.version 1.4.4-alpine
Details
Container
2026-11-02 14:24:55 +00:00
510
OCI / Docker
Versions (1) View all
latest 2026-11-02