Jānis janhouse

threat-hunter-frontend (23e511f4b910313dd6dfc29c9ad0389636f533fc)

Published 2026-04-21 12:03:20 +00:00 by janhouse

Installation

docker pull git.janhouse.lv/janhouse/threat-hunter-frontend:23e511f4b910313dd6dfc29c9ad0389636f533fc
sha256:1e234b5708a1eb33bb19d3e4ec1ce1581e9b9bb733c6b369f09287ed13ed7d47

About this package

Next.js dashboard, Express + WebSocket server, worker orchestration

Image Layers

ADD alpine-minirootfs-3.22.4-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
ENV PORT=3000
ENV SERVER_HOSTNAME=0.0.0.0
RUN /bin/sh -c apk add --no-cache openssh-keygen # buildkit
COPY --chown=bun:bun /app/node_modules ./node_modules # buildkit
COPY --chown=bun:bun /app/.next ./.next # buildkit
COPY --chown=bun:bun /app/public ./public # buildkit
COPY --chown=bun:bun /app/app ./app # buildkit
COPY --chown=bun:bun /app/components ./components # buildkit
COPY --chown=bun:bun /app/hooks ./hooks # buildkit
COPY --chown=bun:bun /app/lib ./lib # buildkit
COPY --chown=bun:bun /app/providers ./providers # buildkit
COPY --chown=bun:bun /app/stores ./stores # buildkit
COPY --chown=bun:bun /app/drizzle ./drizzle # buildkit
COPY --chown=bun:bun /app/server.ts ./server.ts # buildkit
COPY --chown=bun:bun /app/instrumentation.ts ./instrumentation.ts # buildkit
COPY --chown=bun:bun /app/next.config.mjs ./next.config.mjs # buildkit
COPY --chown=bun:bun /app/tsconfig.json ./tsconfig.json # buildkit
COPY --chown=bun:bun /app/drizzle.config.ts ./drizzle.config.ts # buildkit
COPY --chown=bun:bun /app/components.json ./components.json # buildkit
COPY --chown=bun:bun /app/postcss.config.mjs ./postcss.config.mjs # buildkit
COPY --chown=bun:bun /app/next-env.d.ts ./next-env.d.ts # buildkit
COPY --chown=bun:bun /app/package.json ./package.json # buildkit
ARG GIT_SHA=23e511f4b910313dd6dfc29c9ad0389636f533fc
LABEL org.opencontainers.image.title=Threat Hunter Frontend
LABEL org.opencontainers.image.description=Next.js dashboard, Express + WebSocket server, worker orchestration
LABEL org.opencontainers.image.source=https://git.janhouse.lv/janhouse/threat-hunter
LABEL org.opencontainers.image.revision=23e511f4b910313dd6dfc29c9ad0389636f533fc
USER bun
EXPOSE [3000/tcp]
HEALTHCHECK &{["CMD-SHELL" "wget --no-verbose --tries=1 --spider http://127.0.0.1:3000/ || exit 1"] "10s" "5s" "30s" "0s" '\x03'}
CMD ["bun" "run" "server.ts"]

Labels

Key Value
com.docker.compose.project threat-hunter
com.docker.compose.service frontend
com.docker.compose.version 5.1.1
org.opencontainers.image.created 2026-04-20T08:09:50.728Z
org.opencontainers.image.description Next.js dashboard, Express + WebSocket server, worker orchestration
org.opencontainers.image.licenses NOASSERTION
org.opencontainers.image.revision 23e511f4b910313dd6dfc29c9ad0389636f533fc
org.opencontainers.image.source https://git.janhouse.lv/janhouse/threat-hunter
org.opencontainers.image.title Threat Hunter Frontend
org.opencontainers.image.url https://github.com/oven-sh/bun
org.opencontainers.image.version 1.3.13-alpine
Details
Container
2026-04-21 12:03:20 +00:00
2
OCI / Docker
linux/amd64
NOASSERTION
181 MiB
Versions (26) View all