ngn

website/app (latest)

Published 2025-02-05 19:14:42 +03:00 by ngn in ngn/website

Installation

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

About this package

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

Image Layers

# debian.sh --arch 'amd64' out/ 'bullseye' '@1736726400'
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-02-01T05:39:53.586Z
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 c1708ea6ab529a4c747a8282a24d125dc20b0a63
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.2
Details
Container
2025-02-05 19:14:42 +03:00
3
OCI / Docker
linux/amd64
NOASSERTION
107 MiB
Versions (1) View all
latest 2025-02-05