• https://ngn.tf
  • Security, privacy and freedom advocate high-schooler from Turkey

    This gitea instance does not allow registration, send issues and patches to my email

  • Joined on 2025-01-18

website/app (latest)

Published 2025-06-20 11:37:05 +03:00 by ngn in ngn/website

Installation

docker pull git.ngn.tf/ngn/website/app:latest
sha256:a93636d33f54c24aa6fe82d050c033a7153850768c410e29d25e3f34b1de36c5

About this package

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

Image Layers

# debian.sh --arch 'amd64' out/ 'bookworm' '@1749513600'
COPY docker-entrypoint.sh /usr/local/bin # buildkit
COPY /usr/local/bin/bun /usr/local/bin/bun # buildkit
RUN /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
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
RUN |2 BUN_RUNTIME_TRANSPILER_CACHE_PATH=0 BUN_INSTALL_BIN=/usr/local/bin /bin/sh -c groupadd bun --gid 1000 && useradd bun --uid 1000 --gid bun --shell /bin/sh --create-home && ln -s /usr/local/bin/bun /usr/local/bin/bunx && 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
COPY /app/build ./build # buildkit
COPY /app/package.json ./package.json # buildkit
COPY /app/package-lock.json ./package-lock.json # buildkit
RUN /bin/sh -c useradd runner -r -u 1001 -d /app # buildkit
RUN /bin/sh -c chown -R runner:runner /app # buildkit
USER runner
RUN /bin/sh -c bun install # buildkit
EXPOSE map[7001/tcp:{}]
ENV PORT=7001
CMD ["bun" "build/index.js"]

Labels

Key Value
org.opencontainers.image.created 2025-06-12T04:59:05.028Z
org.opencontainers.image.description Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
org.opencontainers.image.licenses NOASSERTION
org.opencontainers.image.revision 07d3d6c9f694ddffc4e4ab6f14dd5e6334b28037
org.opencontainers.image.source https://github.com/oven-sh/bun
org.opencontainers.image.title bun
org.opencontainers.image.url https://github.com/oven-sh/bun
org.opencontainers.image.version 1.2.16
Details
Container
2025-06-20 11:37:05 +03:00
21
OCI / Docker
linux/amd64
NOASSERTION
106 MiB
Versions (1) View all
latest 2025-06-20