monolithe (1dc1795712e7c582b368fec1a0bbd08826eda71c)

Published 2026-10-05 15:39:40 +00:00 by swerk

Installation

docker pull forgejo.kreio.fr/swerk/monolithe:1dc1795712e7c582b368fec1a0bbd08826eda71c
sha256:415273a0f7dae66478704f387cd3dbfbc1f1e8d379d749f322a654548bb3b066

About this package

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

Image layers

# debian.sh --arch 'amd64' out/ 'trixie' '@1787529600'
RUN /bin/sh -c apt-get update -qq && apt-get install -qq --no-install-recommends ca-certificates && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit
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 docker-entrypoint.sh /usr/local/bin # buildkit
COPY /usr/local/bin/bun /usr/local/bin/bun # 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 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
ARG SENTRY_RELEASE=1dc1795712e7c582b368fec1a0bbd08826eda71c
ENV NODE_ENV=production SENTRY_RELEASE=1dc1795712e7c582b368fec1a0bbd08826eda71c
COPY package.json bun.lock tsconfig.base.json ./ # buildkit
COPY apps/api/package.json apps/api/tsconfig.json apps/api/prisma.config.ts apps/api/ # buildkit
COPY apps/api/prisma apps/api/prisma # buildkit
COPY apps/web/package.json apps/web/ # buildkit
COPY packages/shared/package.json packages/shared/ # buildkit
RUN |1 SENTRY_RELEASE=1dc1795712e7c582b368fec1a0bbd08826eda71c /bin/sh -c bun install --frozen-lockfile --production --omit=peer --ignore-scripts --filter @monolithe/api # buildkit
RUN |1 SENTRY_RELEASE=1dc1795712e7c582b368fec1a0bbd08826eda71c /bin/sh -c cd apps/api && bunx prisma version # buildkit
COPY /app/packages/shared/src packages/shared/src # buildkit
COPY /app/apps/api/src apps/api/src # buildkit
COPY /app/apps/web/dist apps/api/public # buildkit
USER bun
WORKDIR /app/apps/api
EXPOSE [3000/tcp]
CMD ["sh" "-c" "bunx prisma migrate deploy && exec bun src/index.ts"]

Labels

Key Value
org.opencontainers.image.created 2026-09-05T05:58:20.153Z
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 744846f844374847c902b5e7fd59b4342a51ef99
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.4.2-slim
Details
Container
2026-10-05 15:39:40 +00:00
0
OCI / Docker
linux/amd64
NOASSERTION
189 MiB
Versions (14) View all