bracket-backend (13ec6e388db2014121c17332f52fa10ded8158bd)

Published 2025-02-07 13:54:38 +00:00 by unurled in flambeaux/bracket-backend

Installation

docker pull git.unurled.me/flambeaux/bracket-backend:13ec6e388db2014121c17332f52fa10ded8158bd
sha256:6dba83d2840000e26bbca65951e0d60b0c1139afe30c42d02457f8c80669f96b

About this package

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

Image layers

ADD alpine-minirootfs-3.20.5-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"]
ENV NODE_ENV=production
RUN /bin/sh -c apk add openssl # buildkit
WORKDIR /app
RUN /bin/sh -c chown -R bun:bun /app # buildkit
USER bun
COPY tsconfig.build.json ./ # buildkit
COPY tsconfig.json ./ # buildkit
COPY package.json ./ # buildkit
COPY bun.lock ./ # buildkit
RUN /bin/sh -c bun install --ignore-scripts --production --frozen-lockfile # buildkit
COPY /app/dist ./dist # buildkit
COPY /app/prisma ./prisma # buildkit
COPY /app/node_modules/.prisma/client ./node_modules/.prisma/client # buildkit
EXPOSE map[4000/tcp:{}]
CMD ["/bin/sh" "-c" "bun prisma migrate deploy && bun run start:prod"]

Labels

Key Value
org.opencontainers.image.created 2025-02-01T05:39:54.358Z
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-alpine
Details
Container
2025-02-07 13:54:38 +00:00
0
OCI / Docker
linux/amd64
NOASSERTION
82 MiB
Versions (12) View all