cases-server (dev)

Published 2026-11-21 00:09:23 +01:00 by ljacho

Installation

docker pull forge.growncode.com/ljacho/cases-server:dev
sha256:e097eae9427b5ca7790cb17bcc26483b81c3ede632a5b63470743347fd94201e

About this package

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

Image layers

# debian.sh --arch 'amd64' out/ 'trixie' '@1792531975'
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
ENV NODE_ENV=production
ENV MIGRATIONS_DIR=/app/migrations
COPY --from=build /repo/apps/server/dist ./
COPY --from=build /repo/libs/db/migrations ./migrations
COPY --from=build /repo/node_modules/sharp ./node_modules/sharp
COPY --from=build /repo/node_modules/@img ./node_modules/@img
COPY --from=build /repo/node_modules/detect-libc ./node_modules/detect-libc
COPY --from=build /repo/node_modules/semver ./node_modules/semver
RUN mkdir -p /app/data/files && chown -R bun:bun /app/data
USER bun
EXPOSE 3001
CMD ["bun", "main.js"]

Labels

Key Value
org.opencontainers.image.created 2026-10-22T10:15:17.549Z
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 17e8a4641fb60bfafff60e5db7d7b0d85f16335c
org.opencontainers.image.source https://forge.growncode.com/ljacho/cases
org.opencontainers.image.title bun
org.opencontainers.image.url https://github.com/oven-sh/bun
org.opencontainers.image.version 1.4.4-slim
Details
Container
2026-11-21 00:09:23 +01:00
0
OCI / Docker
linux/amd64
NOASSERTION
96 MiB
Versions (54) View all
prod 2026-11-21
stg 2026-11-21
dev 2026-11-21